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 {
|
||||
local latest_tag=$(git describe --abbrev=0 2>/dev/null)
|
||||
echo ${latest_tag:-0.0.0}
|
||||
git describe --always
|
||||
}
|
||||
|
||||
function copy {
|
||||
|
|
Loading…
Reference in New Issue