Commit 035a40d
ci: move release trigger to 'release: published'
Goreleaser on tag-push was incoherent: the 'release.draft: true' flag
only affected the GitHub release object, while the Homebrew tap push
fired immediately — so drafts shipped broken casks pointing at assets
only admins could download.
New flow:
- draft created by 'gh release create --draft' (or the UI)
- user reviews and publishes when ready
- 'release: published' event fires this workflow
- goreleaser uploads assets and pushes cask atomically
Also add 'skip_upload: auto' so casks are skipped for prerelease tags,
and drop release-drafter (replaced by manual 'gh release create').
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 09e7ca2 commit 035a40d
4 files changed
Lines changed: 3 additions & 54 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | | - | |
50 | 49 | | |
0 commit comments