Skip to content

fix(release): stage plugin.json in /tmp not dist/ - #17

Merged
intel352 merged 1 commit into
mainfrom
fix/goreleaser-staging
May 25, 2026
Merged

intel352 merged 1 commit into
mainfrom
fix/goreleaser-staging

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Resolves #16.

Was: before-hooks did mkdir -p dist + cp plugin.json dist/... which fights goreleaser's --clean step (cleans dist before hooks run, hooks recreate it, goreleaser later fails with 'dist is not empty').

Now: stage into /tmp/release-stage/. archives.files references the staged copy. goreleaser owns dist/ exclusively.

🤖 Generated with Claude Code

…-clean conflict)

Was: before-hooks did 'mkdir -p dist + cp plugin.json dist/...' which fights goreleaser's --clean step (cleans dist before hooks run, hooks recreate it, goreleaser later fails with 'dist is not empty').

Now: stage into /tmp/release-stage. archives.files references /tmp/release-stage/plugin.json. goreleaser owns dist/ exclusively.

Resolves #16.
@intel352
intel352 merged commit cfb9f54 into main May 25, 2026
@intel352
intel352 deleted the fix/goreleaser-staging branch May 25, 2026 06:10
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.

release.yml: before-hooks 'mkdir -p dist' conflicts with goreleaser --clean (workflow#714 sweep gap)

1 participant