Commit 1666ab7
authored
fix: prevent release failure when SDK version already published (#145)
The release script runs `npm publish` for the SDK sub-package after
`changeset publish`. If the SDK version is already on npm (e.g. from a
prior release run), npm returns 403 and fails the whole CI job.
Redirect stderr and fall back gracefully so the Release action stays
green on re-runs.
Fixes the failing Release action:
https://github.com/ReScienceLab/agent-world-network/actions/runs/234365887411 parent 7fedf57 commit 1666ab7
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments