Intégration de la branche ptools
This commit is contained in:
commit
91de409f47
3
pz
3
pz
|
@ -44,7 +44,8 @@ fi
|
|||
|
||||
setx name=basename -- "$projdir"
|
||||
setx branch=git rev-parse --short HEAD 2>/dev/null
|
||||
setx version=pver --show --allow-empty --add-metadata "$branch"
|
||||
setx version=pver --show --allow-empty
|
||||
[ -n "$version" ] && setx version=pver --show --string "$version" --add-metadata "$branch"
|
||||
[ -n "$version" ] || version="+$branch"
|
||||
dest="$destdir/$name${version:+-$version}.tgz"
|
||||
|
||||
|
|
Loading…
Reference in New Issue