diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81522fc..fb0026c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,3 +61,8 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Force GoReleaser to use the triggering tag rather than fall + # back to `git describe` — which can resolve to an older tag + # (e.g., a vX.Y.Z-rc tag) when multiple tags point at the same + # commit. Surfaced as the v0.3.1 release failure on 2026-05-24. + GORELEASER_CURRENT_TAG: ${{ github.ref_name }}