bump-prerelease-version
v1.0.1
Published
Bump your prerelease version
Downloads
11
Maintainers
Readme
bump-prerelease-version
bump existing pre-release semver tag
CLI to create a pre-release semver git tag based on an existing one, incrementing it.
It arises from the need to automate tag generation during a CI/CD process, when support branches merged back into historical branches.
Quick Overview
Installation
npm install -g bump-prerelease-version
Usage
Usage: bump-prerelease-version [options]
Options:
--prefix, -p Prefix of the tag to look for [default: "v"]
--semver, -v Semver to look for prerelease identifier [required]
--help Show help [boolean]
--version Show version number [boolean]
Example
$ bump-prerelease-version --prefix 'v' --semver '2.0.0'
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT. Copyright (C) 2019 Francesco Pasqua.