Skip to content

ns0m/release-it-snapshot-prerelease-version

Repository files navigation

Snapshot pre-release version write plugin for release-it Latest Published Version Coverage

This release-it plugin overrides the next version in case it is a pre-release to match with Snapshot logic.

It will force the pre-release identifier to SNAPSHOT instead of the default numeric one (1.2.4-0 becomes 1.2.4-SNAPSHOT), or will remove the numeric suffix after provided identifier (1.2.4-beta.0 becomes 1.2.4-beta).

npm install --save-dev release-it-snapshot-prerelease-version

In release-it config:

"plugins": {
  "release-it-snapshot-prerelease-version": {}
}

About

Snapshot pre-release version write plugin for release-it

Resources

License

Stars

Watchers

Forks

Packages

No packages published