ne pas mettre à jour le fichier local

This commit is contained in:
Jephté Clain 2015-04-13 10:54:25 +04:00
parent 6258a6ba76
commit cd50646173
1 changed files with 2 additions and 1 deletions

3
pz
View File

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