From bf52dcb0f1ffa3cba7401831a426d3803054c489 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Tue, 10 Mar 2026 22:00:08 -0400 Subject: [PATCH] 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> --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29b2f6f..33c9165 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}"