Browse Source

Improve pkg.sh archives name

Looking far longer for tags in the history, seems to be imperceptibly slower.
Leo 9 years ago
parent
commit
d83c5c285d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg.sh

+ 1 - 1
pkg.sh

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