gitver
v0.0.3
Published
Generate version number by git history inspired by python-pbr
Downloads
10
Readme
gitver
Auto generate version number by git log and tag
This is a Nodejs library.
Usage
Command line
$ gitver version
# expect output 0.0.1.dev
库的使用
var gv = require('git-tag-version')
gv.current(function(version){
console.log(version) // expect: 0.0.1
})
If recent git tag
is v0.0.2, then function will return 0.0.2 or 0.0.3.dev
LICENSE
Under MIT