-
Notifications
You must be signed in to change notification settings - Fork 51
Releasing
Simon Warta edited this page Dec 8, 2022
·
7 revisions
- Clean and run code generator
git clean -xdf \ && git submodule init && git submodule update \ && npm install \ && npm run codegen - Ensure all
src/*changes are checked-in - Update version in CHANGELOG and package.json
- Update lockfile and build:
npm install && npm run build export NEW_VERSION=$(jq -r .version < package.json)- Commit and tag
git add CHANGELOG.md package.json package-lock.json && git commit -m "Set version $NEW_VERSION" && git tag "v$NEW_VERSION" -
npm publishornpm publish --tag next git push && git push --tags
If a version was published to next before.
npm dist-tag add cosmjs-types@<version> latest
Or remove next entirely:
npm dist-tag rm cosmjs-types next