/upwards

Onwards and upwards

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

upwards

Use this to increment versions of things--namely non-standard, npm-like package.json files. For instance, the manifest.json file in your Chrome extension ;).

$ npm install upwards -g
$ upwards -h
Usage:
  upwards <manifest.json> [--release=<type>]
  upwards -h | --help | --version

Options:
  -r --release	Release type (major, minor, patch, premajor, preminor, prepatch, or prerelease) [default: patch].

Examples

# defaults to 'patch'
$ upwards manifest.json
# use `--release` flag
$ upwards manifest.json --release patch
# or `-r` if you like shorthand
$ upwards manifest.json -r patch