fix(release): repair pipeline defects found in v0.1.0-rc.1 rehearsal #125
Reference in New Issue
Block a user
Delete Branch "fix/release-pipeline-rc1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The rc.1 dress rehearsal did its job — found four defects:
golang:1.26-alpine3.23at a digest containing Go 1.26.3, while go.mod requires 1.26.4. The golang images setGOTOOLCHAIN=local, so no auto-download →go mod downloadhard-fails. Now pinned to1.26.4-alpine3.23by tag + digest, so the next drift fails loud at the tag level.changelog.disable: trueskips the changelog pipe, which is what consumes--release-notes— the git-cliff notes (8.5KB, verified locally) were silently dropped. Re-enabled with a comment explaining the trap; with--release-notesset GoReleaser still skips its own generation..github/workflows/mirror-release.ymlalready relays the canonical Gitea assets on GitHub Actions with the built-in token. TheGH_MIRROR_TOKENsecret and PAT can be revoked.jq '.body // empty'treats an empty string as truthy, so the notes fallback never fired; replaced withselect(). rc tags now marked--prereleaseon GitHub, andprerelease: autoadded to .goreleaser.yaml for the Gitea side.After merge: tag
v0.1.0-rc.2to rehearse the repaired pipeline end-to-end (Docker push is the unexercised path).