Repository navigation
Commit ef8572a
Fix prod desktop release failing to create its tag
GITHUB_TOKEN cannot create a ref to a commit whose workflow files differ
from the current branch head (GitHub requires workflows:write, which
GITHUB_TOKEN can never hold). Prod promotions tag the older dev-release
commit, so the desktop-v0.0.651 promotion 403'd after the Windows
updater workflow fix landed between that dev release and the promotion.
- Tolerate an existing tag that already points at the target commit so
a manually created tag (or a retried promotion) can proceed.
- Create the tag with RELEASE_TAG_TOKEN when set, falling back to
GITHUB_TOKEN for the same-commit (dev/enterprise) case.
- Add workflow_dispatch to the release orchestrator with per-component
toggles — failed releases previously could not be re-triggered, since
reruns reuse the broken workflow snapshot and a fix-only push matches
no path filters.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 313af16 commit ef8572a
2 files changed
Lines changed: 48 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| |||
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| 219 | + | |
214 | 220 | | |
215 | 221 | | |
216 | 222 | | |
| |||
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
229 | 240 | | |
| 241 | + | |
230 | 242 | | |
231 | 243 | | |
232 | 244 | | |
233 | 245 | | |
234 | 246 | | |
| 247 | + | |
235 | 248 | | |
236 | 249 | | |
237 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
16 | 42 | | |
17 | 43 | | |
18 | 44 | | |
| |||
30 | 56 | | |
31 | 57 | | |
32 | 58 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
38 | 64 | | |
39 | 65 | | |
40 | 66 | | |
| |||
48 | 74 | | |
49 | 75 | | |
50 | 76 | | |
| 77 | + | |
51 | 78 | | |
52 | 79 | | |
53 | 80 | | |
| |||
0 commit comments