Commit e7432b0
ci: trigger goreleaser on tag push, create draft release
Switch the goreleaser workflow from a `release` event trigger to a tag
push trigger. The `release` event never fired for draft releases (no
`release` activity type is emitted while a release is a draft), so the
automated release build never ran.
GoReleaser now builds on `v*` tag pushes and creates the GitHub release
as a draft, uploading all artifacts. The release notes are generated
manually in the UI (selecting the previous tag) and the release is then
published. Publishing last keeps assets intact under immutable releases,
which freeze a release's assets on publish.
Also pass `--config goreleaser.yml` since the config uses a non-standard
filename that GoReleaser would not otherwise auto-discover.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7e3ec46 commit e7432b0
2 files changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 67 | + | |
| 68 | + | |
0 commit comments