Use git to generate project version
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user