diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 779024b..4ac1dfe 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -97,7 +97,12 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git tag -f latest ${{ steps.version.outputs.tag }} + # Create the version tag locally first + git tag ${{ steps.version.outputs.tag }} + # Point latest to the current commit (same as the version tag) + git tag -f latest + # Push both tags + git push origin ${{ steps.version.outputs.tag }} git push -f origin latest - name: Build Summary