release-it-snapshot-prerelease-version
v2.1.0
Published
Snapshot pre-release version write plugin for release-it
Downloads
299
Maintainers
Readme
Snapshot pre-release version write plugin for release-it
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": {}
}