Skip to content

Commit 9adf32b

Browse files
chore(ci): adjust to build release based on current branch (#202)
At the moment our default branch is `master`, in the future we will move to `main` to align with our other repositories. This change makes the workflow more flexible to that future change and fixes the current failure.
1 parent ce71ff9 commit 9adf32b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Release
33
on:
44
push:
55
branches:
6-
- main
76
- master
87

98
jobs:
@@ -20,7 +19,7 @@ jobs:
2019
id: semver
2120
uses: ietf-tools/semver-action@000ddb2ebacad350ff2a15382a344dc05ea4c0a4
2221
with:
23-
branch: main
22+
branch: ${{ github.ref_name }}
2423
token: ${{ secrets.GITHUB_TOKEN }}
2524

2625
- name: Create tag

0 commit comments

Comments
 (0)