- 1. Make sure all of the code to be published is merged into the
mainbranch - 2. Checkout
release/sdkbranch usinggit checkout release/sdk - 3. Pull from main with --no-ff merge strategy using
git pull --no-ff origin main - 4. Bump ALL packages package.json versions (even if code has not changed) and
CONFIG_VERSIONinconstants/index.tsof@sodax/types! NOTE if you are making a release candidate (RC) for same version userc-<number>postfix to the version you are making a release candidate for!-
@sodax/sdk -
@sodax/dapp-kit -
@sodax/types -
@sodax/wallet-sdk-core -
@sodax/wallet-sdk-react - Increase CONFIG_VERSION in
@sodax/types
-
- 5. Create commit using
git commit -m "chore: bump versions" - 6. Push all merged and newly created commits using
git push -u origin release/sdk - 7. Go to Github sodax-frontend/releases and click "Draft/Create a new release" to reach release page (do that for EACH package!)
- 7.1 Input new tag in form of
<package name>@<package version> - 7.2 Select
Target: release/sdk - 7.3 Click
Generate release notes - 7.4 Mark checkbox
Set as a pre-releaseif you are creating a release candidate (RC version) - 7.5 Click
Publish releaseto create a release
- 7.1 Input new tag in form of
- 8. Share release info (npm links to the new versions + changelog) in Venture 23 #sodax-sdk and Sodax #sodax_sdk Discord channels