Commit 2559b1c
committed
fix(ci): stop a half-shipped release from passing as a good one
`publish-native-assets` correctly refuses to publish a partial native set, but
a job whose dependency failed reports `skipped`, not `failure`. `redeploy-cdn`
only checked for `failure`, so it deployed 1.0.0 to the CDN while the GitHub
release held zero assets — every native installer would have been pointed at a
release that has none. It now requires that job to have succeeded whenever the
release has native artifacts at all, leaving the CDN on the last installable
version otherwise.
`verify-cdn-release` had no `always()`, so the same upstream skip propagated
through the graph and silently disabled the one gate that exists to catch a
half-shipped release. It now runs on its own merits and reports the stale CDN
instead of vanishing with it.1 parent d766fda commit 2559b1c
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
243 | 250 | | |
244 | 251 | | |
245 | 252 | | |
246 | | - | |
247 | | - | |
| 253 | + | |
| 254 | + | |
248 | 255 | | |
249 | 256 | | |
250 | 257 | | |
| |||
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
311 | 323 | | |
312 | | - | |
313 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
314 | 328 | | |
315 | 329 | | |
316 | 330 | | |
| |||
0 commit comments