Skip to content

Release Process

Rob Moran edited this page Feb 12, 2024 · 9 revisions

Checkout the main branch

git checkout master
git pull
git submodule update --init

Version

Bump the package.json version number as appropriate using:

npm version <major|minor|patch>

Build

Build the package locally and audit any dependencies to produce an up-to-date yarn.lock

yarn clean
yarn build:all

Changelog

Update the CHANGELOG file to reflect all changes in this release.

Amend the commit and add the updates.

Push

If you didn't use npm version, tag the source using the version with a v prefix as above for the tagname and then:

git push
git push --tags

Prebuilds

When a tag is pushed, the GH actions system will automatically create prebuildify binaries for the release.

Test

Have a compatible physical test device set up and connected to the local machine. (Details)

rm -rf build
yarn install
yarn test

Publish

To undertake a normal (latest) npm publish run:

npm publish

To specify a tag (e.g, testing, alpha) use:

npm publish --tag alpha
Clone this wiki locally