Skip to content

Release process

Samuel D. Leslie edited this page Oct 3, 2022 · 7 revisions

Instructions assume a correctly configured development environment.

Preparation

  1. Update the version in the package.json file
    1. Be sure to run npm install and commit the updated package-lock.json file as well!
  2. Update CHANGELOG.md (review the commit history).
  3. Push all commits on main and check all builds pass.

Releasing

  1. Build the package: npm run build
  2. Upload the new release: npm publish

Consult the internal documentation (Draftable employees only) for credentials suitable for publishing.

Post-release

  1. Add a new Git tag corresponding to the release.
  2. Fast-forward the stable branch to match main.
  3. Update any internal repositories to use the new version.
Clone this wiki locally