Commit b1f3f0a
fix(release): write install.yaml outside dist for goreleaser dist check (#28)
## Summary
GoReleaser pipe order: \`--clean\` wipes \`dist\` (step 1), then
\`before:hooks\` runs (step 2), then the dist pipe re-checks \`dist\` is
empty (step 3). PR #25 put \`make installer\` in \`before:hooks\`, which
writes to \`dist/install.yaml\` and re-populates the directory before
step 3 runs:
\`\`\`
dist is not empty, remove it before running goreleaser or use the
--clean flag
\`\`\`
Fix: move \`install.yaml\` out of \`dist/\` inside the hook
(\`release-assets/\`), update \`release.extra_files\`.
## Test plan
- [ ] v0.1.6 release workflow goreleaser step succeeds
- [ ] install.yaml attached to GitHub release
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f74ef67 commit b1f3f0a
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
0 commit comments