Skip to content

fix(release): revert build/smoke/publish split#224

Closed
bernie-g wants to merge 1 commit intomainfrom
fix/cli-revert-release-workflow-split
Closed

fix(release): revert build/smoke/publish split#224
bernie-g wants to merge 1 commit intomainfrom
fix/cli-revert-release-workflow-split

Conversation

@bernie-g
Copy link
Copy Markdown
Contributor

@bernie-g bernie-g commented May 8, 2026

Description 📣

--skip=build (used in PR #222's publish step) isn't valid in goreleaser-pro v1.26.2 — only added in v2.x. Publish step crashed at startup, so v0.43.83 shipped with only darwin+windows artifacts and no linux. Reverts the workflow to the pre-PR-222 single-step pattern.

Type ✨

  • Bug fix

Tests 🛠️

Manual: cut a fresh release tag and confirm linux/.deb/.rpm/.apk artifacts ship alongside darwin+windows.


…1.26.2)

The publish step in PR #222 used `--skip=build,validate,before` to reuse
dist/ from a prior build step, but `--skip=build` was only added in
goreleaser v2.x. v1.26.2-pro (pinned in this workflow) errors with
"--skip=build is not allowed", failing the publish phase before any
linux/.deb/.rpm/.apk artifacts reach the release. v0.43.83 ended up
with only darwin+windows artifacts as a result.

Revert to the pre-PR-222 single-step goreleaser invocation that worked.
The smoke-test gate goes with it; portability regressions can be
guarded post-publish or via a dry-run check instead.
@infisical-review-police
Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-cli-224-fix-release-revert-build-smoke-publish-split

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

@bernie-g bernie-g closed this May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant