JSPM

bump-prerelease-version

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q18545F
  • License MIT

Bump your prerelease version

Package Exports

  • bump-prerelease-version

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bump-prerelease-version) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bump-prerelease-version

bump existing pre-release semver tag

build status npm version dependencies vulnerabilities javascript style guide conventional commits

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.