Commit 523919a
Guillaume Lessard
feat(release): complete CI-based publishing, matching the proven 0.6.9 flow
Verified against the workflow that shipped 0.6.5 -> 0.6.9: it publishes from CI
with pypa/gh-action-pypi-publish via OIDC Trusted Publishing, not by local twine
upload. (RELEASE_NOTES' mention of "twine upload" describes an earlier
iteration; the shipped file uses the action.) Restored the two pieces that were
still missing.
skip-existing: true. PyPI refuses re-uploading a file that already exists, so
without it a run that uploaded 9 of 15 wheels and then failed could never be
retried - the retry dies on the first duplicate and the release is stuck
half-published with no way forward. This is the difference between a recoverable
and an unrecoverable release failure, and it was in the proven flow.
Artifact attestation, non-gating, exactly as commit 49ba957 established:
`continue-on-error: true` and skipped on private repos, because provenance needs
a public repo or GHAS and its absence must never fail an otherwise-good release.
Adds the `attestations: write` permission it requires.1 parent 7a5b839 commit 523919a
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
255 | 267 | | |
256 | 268 | | |
257 | 269 | | |
258 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
0 commit comments