Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Release Process

paulsiersma edited this page Mar 5, 2021 · 3 revisions

Creating new versions

We use yarn version for updating the version and adding the git tag. A push to origin will trigger the github workflow that will publish a new release.

Prereleases

yarn version support creating prerelease versions. For example:

yarn version --prepatch --preid pre

This will increment the patch version number and append a prerelease number prefixed by pre. So if the latest version is v1.0.3 running the above command will update the version to v1.0.4-pre.0

To keep the main version and only increment the prerelease number, use:

yarn version --prerelease

This will keep major, minor and patch version nunmbers the same, and will only increment the prerelease number. There is no need to restate the --preid. So if the latest version is v1.0.4-pre.4, running this command will update the version to v1.0.4-pre.5.

References

Clone this wiki locally