Skip to content

Commit

Permalink
fix(build): trigger release only when tagged (#20)
Browse files Browse the repository at this point in the history
Release workflow was getting triggered when new branch
was created. This commit updates the condition on the
release workflow to get triggered only when a new release
tag is created.

Signed-off-by: kmova <kiran.mova@mayadata.io>
  • Loading branch information
kmova authored Sep 3, 2021
1 parent e9399c1 commit a34bb7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
name: release

on:
create:
tags:
- 'v*'
release:
types:
- 'created'

jobs:
linux-utils:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# linux-utils

This repository contains the scripts required for building a customized alpine based linux utils docker image used for launching OpenEBS helper jobs.
This repository also acts as a trigger to initiate the release workflow. For example:
- Creating a release tag from `main` branch with a release tag like v3.m.n, will result in tagging the downstream repos with the tag v3.m.n on branch v3.m.x
- Creating a release tag from `v2.12.x` branch with a release tag like v2.12.1, will result in tagging the downstream repos with tag v2.12.1 on branches v2.12.x

For more information on the release process, see https://github.com/openebs/openebs/blob/HEAD/RELEASE.md

0 comments on commit a34bb7d

Please sign in to comment.