mirror of
https://github.com/pdfme/pdfme.git
synced 2026-02-20 07:47:16 -05:00
1.0 KiB
1.0 KiB
How to release and publish
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.zfor stable releasesx.y.z-rc.nfor release candidatesx.y.z-beta.nfor beta releasesx.y.z-alpha.nfor 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.
Additionally 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.zis the version of the last stable release andnis the number of commits since the last stable release.x.y.z-[rc|beta|alpha].n-dev.m, wherex.y.z-[rc|beta|alpha].nis the version of the last pre-release andmis the number of commits since the last pre-release.