Use git to generate project version

This commit is contained in:
wpetit 2022-05-11 16:20:38 +02:00
parent 2734f49ab0
commit 8617438ff7
1 changed files with 1 additions and 2 deletions

View File

@ -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 {