npm version-like commands for all
We all know how powerful is to do semver versioning using npm and its commands like npm version
, npm version major
, npm version minor
, npm version patch
.
The problem is that outside of the JavaScript world, we lose our powers. With TVersion, you'll be able to use npm-like commands on any git repository you want.
$ git clone git@github.com:mtheusrabelo/tversion.git
$ cd tversion
$ npm link
ps: you might need sudo to run npm link
$ cd anyrepository
$ tversion # will print out the current version
$ tversion minor # will generate a minor release tag
MIT