Versioner
A command line based tool to read and create git tags that follow semantic versioning., (*1)
Installation
Download the latest versioner
binary from the releases page and put it somewhere in your path, e.g., (*2)
mv /path/to/downloaded/versioner /usr/local/versioner
Usage
Run versioner
to display the tool information, including all available commands., (*3)
Commands
latest
Run versioner latest
to read the last version tag on the current git branch., (*4)
bump
Run versioner bump
to bump the latest patch version up by one number., (*5)
The new version will be shown and you will be prompted to confirm before a git tag is created., (*6)
To bump the major or minor version, specify it as a third argument, e.g., (*7)
$ versioner bump major
Latest version is 0.2.0
Next version will be v1.0.0
Create new git tag with this version? [y/n]
help
Coming soon..., (*8)
Release History
- 0.1.0
- First release. Added LICENSE and README files.
Contributing
- Fork it (https://github.com/samdjstevens/versioner/fork)
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request