Use git to generate project version
This commit is contained in:
parent
2734f49ab0
commit
8617438ff7
|
@ -45,8 +45,7 @@ function current_commit_ref {
|
||||||
}
|
}
|
||||||
|
|
||||||
function current_version {
|
function current_version {
|
||||||
local latest_tag=$(git describe --abbrev=0 2>/dev/null)
|
git describe --always
|
||||||
echo ${latest_tag:-0.0.0}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function copy {
|
function copy {
|
||||||
|
|
Loading…
Reference in New Issue