Publish the release from the script #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The script printed seven
npm publishcommands for you to paste as a block. That races an unfinishednpm login: the six platform publishes can fail while the browser challenge is still open, and the launcher, running last, succeeds. The launcher then sits on the registry pointing at six packages that are not there.The v0.2.0 release came close to this. Every package did publish, but the state was unreadable for several minutes because
npm viewreads a local cache and reported packages as missing that had gone out a minute earlier.scripts/release.sh <version> --publishnow does the publishing itself:npm whoamifails, rather than after the sixth.npm view, so the answer is not a stale cache.Without
--publishthe script only builds, as before.