Skip to content

fix: prevent release failure when SDK version already published#145

Merged
Jing-yilin merged 2 commits into
mainfrom
fix/release-idempotent
Mar 23, 2026
Merged

fix: prevent release failure when SDK version already published#145
Jing-yilin merged 2 commits into
mainfrom
fix/release-idempotent

Conversation

@Jing-yilin
Copy link
Copy Markdown
Contributor

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/23436588741

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.
@Jing-yilin Jing-yilin merged commit 1666ab7 into main Mar 23, 2026
3 checks passed
@Jing-yilin Jing-yilin deleted the fix/release-idempotent branch March 23, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant