0.2.0 • Published 6 years ago
incrementor v0.2.0
Incrementor
This is a simple package to increment and release versions to git in a project's package.json
file based on Semver.
Installation
NPM:
npm install --save-dev incrementor
Yarn:
yarn add incrementor --dev
Usage
In your project's package.json
file, add an entry to scripts
:
"scripts": {
"release": "incrementor"
}
Make changes and commits as you normally would, then:
npm run release -- patch "* Big improvements" "* Maximum performance"
Or, for Yarn:
yarn release patch "* Big improvements" "* Maximum performance"
That's it! Incrementor will:
- Increase the version in
package.json
- Commit the change with the version number as the first line of the message
- Optionally: add any further lines to the commit message
- Tag the commit as the new version
- Push your changes and new tag
Important Note!
If you git checkout
a new branch and don't have changes on a remote, this process will fail.
0.2.0
6 years ago
0.0.17
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.21
6 years ago
0.1.20
6 years ago
0.1.2
6 years ago
0.1.19
6 years ago
0.1.18
6 years ago
0.1.17
6 years ago
0.1.16
6 years ago
0.1.15
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago