prerelease-ftw

0.1.2 • Public • Published

Pre-Release FTW!

Build Status

Generates a version with prerelease suffix based on the current package version and command line parameters. Useful when publishing modules from CI servers.

Install

npm i --save-dev prerelease-ftw

package.json

{
  "version": "3.2.0",
  "scripts": {
    "prerelease": "prerelease"
  }
}

Run

npm --silent run prerelease -- build 20

Output

3.2.0-build.20

Continuous Integration FTW!

npm --no-git-tag-version version $(npm --silent run prerelease -- build ${BUILD_NUMBER})
npm publish

Package Sidebar

Install

npm i prerelease-ftw

Weekly Downloads

91

Version

0.1.2

License

ISC

Last publish

Collaborators

  • guidesmiths_bot
  • feliun
  • ulisesgascon
  • cressie176