1.1.2 • Published 5 years ago

npm-autorelease v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

npm-autorelease

Based on npm-release by Tom Ashworth, this script will:

  • Automatically bump the version in package.json
  • Commit 'chore(release): Release vX.X.X-X'
  • Tag your release
  • Push the commit & tag (git push && git push --tags)
  • Release to npm (with npm publish)

Versioning is based on commit messages since the last release. Commits should be using the AngularJS Commit Guidelines, as this package will use the type of the commits to decide the next version.

Install

npm install -g npm-autorelease

Usage

You must use npm-autorelease in a folder with a package.json and a remote to push to.

You may also set the following environment variables (useful for CI Pipeline tools)

  • GIT_USER - A user to push the release and tags under
  • GIT_PASS - A token or password for the user

Options

  • --dry-run - Output only the recommended release type for the current repo without applying any commits, tags or releases to your project.

License

MIT

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago