2 Commits

Author SHA1 Message Date
Devraj Mehta
f070e091bc Merge pull request #8 from actions/fix-release-tag-fetch
Fix: fetch new tag before updating major version tag
2026-03-10 23:21:50 -04:00
Devraj Mehta
bf52dcb0f1 Fix: fetch new tag before updating major version tag
gh release create creates the tag on the remote, so we need to fetch
it before we can reference it locally for the major version tag update.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 22:00:28 -04:00

View File

@@ -68,5 +68,6 @@ jobs:
- name: Update major version tag
run: |
git fetch origin tag "${{ steps.version.outputs.new }}"
git tag -f "${{ steps.version.outputs.major }}" "${{ steps.version.outputs.new }}"
git push -f origin "${{ steps.version.outputs.major }}"