Commit e8dfd68
release: guard pre-release (-pre) tags out of the stable channel
A hyphenated tag (v0.23.0-pre) should ship binary + content as a GitHub
pre-release without promoting to stable. Three minimal guards:
- release.yml: gate the "Stamp plugin manifests" step (which also advances
refs/heads/stable) on `if: "!contains(github.ref, '-')"` so a -pre tag
skips both manifest-stamp and stable-ref advance; a final vX.Y.Z still runs.
- .goreleaser.yaml: `skip_upload: auto` on both Homebrew casks so a -pre tag
does not bump the casks (keys off the parsed semver pre-release indicator).
- .goreleaser.yaml: `release.prerelease: auto` so goreleaser actually marks
the -pre tag a GitHub pre-release. goreleaser's default is `false`, so
without this a -pre tag would publish as a full latest release.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2422295 commit e8dfd68
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
107 | 118 | | |
108 | 119 | | |
109 | 120 | | |
| |||
140 | 151 | | |
141 | 152 | | |
142 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
143 | 157 | | |
144 | 158 | | |
145 | 159 | | |
| |||
0 commit comments