Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.02 KB

File metadata and controls

19 lines (14 loc) · 1.02 KB

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": {}
}