New Features
-
Support publishing "canary" releases (#93)
To give you greater confidence when releasing packages, it's often useful to be able to do a pre release version. Rolling Versions now supports this via the
--canary
parameter. If you run:npx rollingversions --canary $BUILD_NUMBER
The new version will be published with:
- a suffix to the version of
-canary-$BUILD_NUMBER
- a
dist-tag
on npm ofcanary
- no GitHub release. We only create GitHub releases for the production release.
Other than the suffix, it will get the same version number as if it were the full release, and will still only be published if the change log means a normal publish would trigger a release.
- a suffix to the version of