Working with Versions - rubyworks/vclog GitHub Wiki
Working with Versions
Current Version
VCLog can tell you the current version, i.e. the last version that was officially released.
$ vclog-version
1.1.0
Bumping Versions
VCLog can also be used to intelligently bump versions. To see the next reasonable version based on current changes:
$ vclog-bump
1.2.0
VCLog determines the appropriate version based on commit level. Any commit with a level greater than 1 will bump the major number, while any commit with a level of 0 or 1 will bump the minor number. All lower level only bump the patch level.