Skip to content

fix(release): wrap goreleaser hooks needing && in sh -c (follow-on to #16)#18

Merged
intel352 merged 1 commit into
mainfrom
fix/goreleaser-sh-c-wrapper
May 25, 2026
Merged

fix(release): wrap goreleaser hooks needing && in sh -c (follow-on to #16)#18
intel352 merged 1 commit into
mainfrom
fix/goreleaser-sh-c-wrapper

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Was: hooks with && fail because goreleaser execs each hook as argv, not shell. Now: wrap in sh -c. Follow-on to #16.

🤖 Generated with Claude Code

Was: hooks with '&&' (rm -rf X && mkdir Y) fail because goreleaser execs each hook as an argv list, not a shell command. '&&' is shell syntax.

Now: wrap any hook needing shell features in 'sh -c'.

Follow-on fix to #16 (v0.1.4 release failed with: cp: cannot create regular file '/tmp/release-stage/plugin.json': No such file or directory — because the previous rm/mkdir hook failed silently).
@intel352 intel352 merged commit 45adca2 into main May 25, 2026
@intel352 intel352 deleted the fix/goreleaser-sh-c-wrapper branch May 25, 2026 06:28
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