-
Notifications
You must be signed in to change notification settings - Fork 7
Release Process
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.
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
.
Leaphy Easybloqs Wiki