Skip to content

Release Checklist

Elliot Lee edited this page Sep 12, 2022 · 29 revisions

Pre-release

  • Your changes should be on a branch.
  • Your changes should have unit tests.
  • Lint the code with npm lint
  • Build your code with npm build
  • Run the unit tests with npm test
  • Get a full code review.
  • Merge your branch into develop and push to github.

Release

  • Update package.json to bump the xrpl.js version number.

  • Update HISTORY.md

    • Update the version number and release date, and ensure it lists the changes since the previous release.
    • Use shasum -a 256 build/* to get the SHA-256 checksums. Add these to the file.
  • Commit and push to github.

  • If this is not a beta release: Merge develop into main (--ff-only) and push to github. This is important because we have docs telling developers to use main to get the latest release. (No longer applies to ripple-lib.)

  • Publish the release to npm.

    • If you are publishing a 1.x release to the xrpl package, use:

      npm publish --tag ripple-lib
      

      This prevents the release from taking the latest tag.

    • If this is a beta release, use:

      npm publish --tag beta
      

      This allows someone else to install the package with npm add xrpl@beta.

    • If this is a stable release, use:

      npm publish
      
  • Create a release on github with an appropriate tag name (the version number).

    • Upload and include files for the browser build of xrpl.js, including the pre-built and minified versions (#1310):
    • open build -> drag files to GitHub
  • Send an email to xrpl-announce.

For ripple-lib, push to both ripple-lib and xrpl. For xrpl, use --tag ripple-lib for ripple-lib releases; here's why.

Clone this wiki locally