Browse Source

Using current commit to create archive in release.sh script

Leo 9 years ago
parent
commit
0a3132855c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg.sh

+ 1 - 1
pkg.sh

@@ -13,5 +13,5 @@ id=`git describe --abbrev=40 --candidates=50 HEAD`
 name=OcLaunch_${id}.tgz
 
 echo "Writing in" $name
-git archive master --prefix=${name}/ --format=tgz -o dist/${name} -9
+git archive HEAD --prefix=${name}/ --format=tgz -o dist/${name} -9