Closed mattoberle closed 3 years ago
The typical workflow will involve creating a release from the base branch (currently: master).
master
Start by creating a prerelease candidate, selecting the correct version to increment.
npm run release (prepatch|preminor|premajor)
This will run npm version (selection) and push the branch/tag.
npm version (selection)
CircleCI will publish a package with --tag=prerelease, eg. v8.17.1-0.
--tag=prerelease
v8.17.1-0
When we are ready to promote a release from prerelease to latest run the following.
prerelease
latest
npm run release (patch|minor|major)
CircleCI will publish a package, eg v8.17.1.
v8.17.1
The typical workflow will involve creating a release from the base branch (currently:
master
).Start by creating a prerelease candidate, selecting the correct version to increment.
This will run
npm version (selection)
and push the branch/tag.CircleCI will publish a package with
--tag=prerelease
, eg.v8.17.1-0
.When we are ready to promote a release from
prerelease
tolatest
run the following.This will run
npm version (selection)
and push the branch/tag.CircleCI will publish a package, eg
v8.17.1
.