Commit beb2867
release: fetch full history for goreleaser changelog (#2192)
## Summary
- The release workflow's pre-goreleaser checkout was using a shallow
clone (default `fetch-depth: 1`), so goreleaser only saw the HEAD commit
when generating release notes.
- This is why [v1.2.7's release
notes](https://github.com/chainguard-dev/apko/releases/tag/v1.2.7) only
list #2191 and omit #2190, even though both landed on `main` before the
tag was cut.
- Goreleaser prints `running against a shallow clone - check your CI
documentation at https://goreleaser.com/ci` in the release log, and the
[GitHub Actions guide](https://goreleaser.com/ci/actions/) explicitly
calls out that `fetch-depth: 0` is required.
## Test plan
- [ ] Next release's notes include every commit between the previous tag
and the new tag.
- [ ] The `running against a shallow clone` warning no longer appears in
the release workflow log.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a118c3d commit beb2867
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments