Skip to content

Commit f2b14b5

Browse files
authored
Merge pull request #302 from github/jm_fix_tagging
fix: ensure we tag to the github.ref
2 parents 67cff13 + ba5e470 commit f2b14b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/major-version-updater.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
{ echo "tag=${tag}"; echo "version=${version}"; echo "major=${major}"; } >> "$GITHUB_OUTPUT"
2828
- name: force update major tag
2929
run: |
30-
git tag v${{ steps.version.outputs.major }}
31-
git push origin refs/tags/v${{ steps.version.outputs.major }} -f
30+
git tag v${{ steps.version.outputs.major }} ${{ github.ref }}
31+
git push -f origin v${{ steps.version.outputs.major }}

0 commit comments

Comments
 (0)