Parcourir la source

Longer sha1 in archive produced by pkg.sh

 - This aims to avoid conflict and enhance clarity (easier to find the commit and
   be sure it's the right one)
Leo il y a 9 ans
Parent
commit
2459542ddf
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
 fi
 
 
 # If no tag, use commit SHA1
 # If no tag, use commit SHA1
-id=`git describe HEAD`
+id=`git describe --abbrev=40 HEAD`
 name=OcLaunch_${id}.tgz
 name=OcLaunch_${id}.tgz
 
 
 echo "Writing in" $name
 echo "Writing in" $name