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>
This commit is contained in:
Devraj Mehta
2026-03-10 22:00:08 -04:00
parent 72d90beb74
commit bf52dcb0f1

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 }}"