Skip to content

Commit 4fa4e8b

Browse files
committed
fix(ci): checkout tag ref in goreleaser to match tag commit
After rebase-and-merge, HEAD differs from the tagged commit. Checking out the tag directly ensures GoReleaser validates correctly.
1 parent 27beef4 commit 4fa4e8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
34+
ref: ${{ needs.release-please.outputs.tag_name }}
3435

3536
- uses: actions/setup-go@v5
3637
with:

0 commit comments

Comments
 (0)