Commit 1fe2165
ci: skip npm publish when the version is already on the registry
Makes the release job idempotent: if the package@version is already
published (a manual bootstrap publish, or a re-run of a released tag), skip
npm publish and still create the GitHub release instead of failing on
"cannot publish over existing version".
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lj241sZMvCV2wAuH1A65Fm1 parent 0906d23 commit 1fe2165
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
0 commit comments