Skip to content

Commit 4a1cebe

Browse files
AndrewJoclaude
andcommitted
fix(ci): fetch full git history for GoReleaser tag detection
GoReleaser requires git tags to build, but actions/checkout does a shallow clone by default. Use fetch-depth: 0 to include all tags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f5485a2 commit 4a1cebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
2123

2224
- uses: actions/setup-go@v5
2325
with:

0 commit comments

Comments
 (0)