ne pas mettre à jour le fichier local
This commit is contained in:
parent
6258a6ba76
commit
cd50646173
3
pz
3
pz
|
@ -44,7 +44,8 @@ fi
|
||||||
|
|
||||||
setx name=basename -- "$projdir"
|
setx name=basename -- "$projdir"
|
||||||
setx branch=git rev-parse --short HEAD 2>/dev/null
|
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"
|
[ -n "$version" ] || version="+$branch"
|
||||||
dest="$destdir/$name${version:+-$version}.tgz"
|
dest="$destdir/$name${version:+-$version}.tgz"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue