Latest:
- Change
@coral-xyz/anchorand@coral-xyz/anchor-cliversions inpackage.jsonto official npm packages and match the release version - Change the
anchor-langdependency version intests/example-program/programs/example-program/Cargo.tomlto match the release version - Bump the version outputted by
--versionflag insrc/main.ts - Bump the package version in
package.json - Run
yarn buildandyarn test - Update CHANGELOG.md with the new version
- Commit the changes to git
- Publish the latest version
npm publish - Tag the beta with the new version
npm dist-tag add anchor-client-gen@vX.Y.Z beta - Tag the commit on master after merging with
git tag <version>
Beta:
- Update package.json to a beta version (e.g.
0.24.0-beta.1) - Update the version outputted by
--versionflag insrc/main.tsto match the above - Run
yarn buildandyarn test - Commit the changes to git
- Publish the beta version
npm publish --tag beta(optionally do a dry run with--dry-run) - Tag the commit on master after merging with
git tag <version>