Parcourir la source

Improve pkg.sh archives name

Looking far longer for tags in the history, seems to be imperceptibly slower.
Leo il y a 9 ans
Parent
commit
d83c5c285d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg.sh

+ 1 - 1
pkg.sh

@@ -9,7 +9,7 @@ if ! [ -e dist ]; then
 fi
 
 # If no tag, use commit SHA1
-id=`git describe --abbrev=40 HEAD`
+id=`git describe --abbrev=40 --candidates=50 HEAD`
 name=OcLaunch_${id}.tgz
 
 echo "Writing in" $name