To create a new release on NPM, follow these steps:
- Create a new tag of the form
x.y.z
. - Push the tag to GitHub.
- Wait for the CI to finish.
The following tag naming is supported:
x.y.z
for stable releasesx.y.z-rc.n
for release candidatesx.y.z-beta.n
for beta releasesx.y.z-alpha.n
for alpha releases
The CI will automatically publish the release to NPM if the tag is of the form x.y.z
, and will publish the release to the next
tag on NPM if the tag is of the form x.y.z-rc.n
, x.y.z-beta.n
or x.y.z-alpha.n
.
Additonally the CI creates releases to the dev
tag on NPM for every commit to the main
branch.
Releases to the dev
tag follow the following naming scheme:
x.y.z-dev.n
, wherex.y.z
is the version of the last stable release andn
is the number of commits since the last stable release.x.y.z-[rc|beta|alpha].n-dev.m
, wherex.y.z-[rc|beta|alpha].n
is the version of the last pre-release andm
is the number of commits since the last pre-release.