⚠️ Archived Repository: This project is no longer maintained and is kept here for archival purposes only. Please note that the code may be outdated and no longer functional.
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.
npm install -g bump-prerelease-version
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]
$ bump-prerelease-version --prefix 'v' --semver '2.0.0'
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.
MIT. Copyright (C) 2019 Francesco Pasqua.