Skip to content

Commit a34bb7d

Browse files
author
Kiran Mova
authored
fix(build): trigger release only when tagged (#20)
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 <[email protected]>
1 parent e9399c1 commit a34bb7d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
name: release
1515

1616
on:
17-
create:
18-
tags:
19-
- 'v*'
17+
release:
18+
types:
19+
- 'created'
2020

2121
jobs:
2222
linux-utils:

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# linux-utils
22

33
This repository contains the scripts required for building a customized alpine based linux utils docker image used for launching OpenEBS helper jobs.
4+
This repository also acts as a trigger to initiate the release workflow. For example:
5+
- 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
6+
- 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
7+
8+
For more information on the release process, see https://github.com/openebs/openebs/blob/HEAD/RELEASE.md

0 commit comments

Comments
 (0)