version-updeprecated

Update project version and create tag easily. Handles version in manifest files package.json, bower.json and component.json.

Usage no npm install needed!

<script type="module">
  import versionUp from 'https://cdn.skypack.dev/version-up';
</script>

README

Version-bump

Update project version and create tag easily. Handles version in manifest files package.json, bower.json and component.json.

This is a fork from node-bump. It is almost what I was after, but I needed this command also to check that all manifest files contain the same version.

This variation quits if any of the manifests has different version. Also most of the code is rewritten (as an experiment).

Install

npm install -g version-up

Usage

versionup <level> [options]

level

  • patch, minor, major - Increase specific version

options

  • --no-tags - Do not create git tag
  • --no-push - Do not push to remote repo

Shortcut commands

Following commands are also available. They use same options and the level is specified by the command name.

majorup [options]

or

minorup [options]

or

patchup [options]

Todo

See milestone 0.3

License

MIT License (c) Arto Arffman