-
Check the Semantic Versioning page for info on how to version the new release: http://semver.org
-
Ensure your local repo is up-to-date
git checkout main && git pull -
Add an entry for the new release to
CHANGELOG.md, and/or move the contents from the Unreleased to the new release -
Increment the version in
src/version.ts. -
Stage the
CHANGELOG.mdandsrc/version.tsfilesgit add CHANGELOG.md src/version.ts -
To update the version, create the appropriate tag, commit all staged changes and push to the remote repository
yarn version [ --patch | --minor | --major ]Select the applicable option to the
yarn versioncommand to increment the appropriate part of the version number, i.e., for a version ofx.y.z,--patchto increment thez--minorto increment they--majorto increment thex
The
preversionandpostversionscripts inpackage.jsontake care of the pre (testing) and post (pushing) actions. -
Login to
shipitand press Deploy on the appropriate commit (the commit description will be the version number).
This repository was archived by the owner on Aug 23, 2024. It is now read-only.