Browse Source

Further unify nemas of binary and source archives. All lower case, using git description for version info

Leo 9 years ago
parent
commit
0a605f7ec6
2 changed files with 3 additions and 2 deletions
  1. 2 1
      0install.sh
  2. 1 1
      pkg.sh

+ 2 - 1
0install.sh

@@ -18,7 +18,8 @@ if [ ! -d $dist ]; then
   mkdir $dist
 fi
 # Archive name, _the bin emphasis the difference with source tarball
-name=oclaunch-v$(cat ./VERSION)_$(arch)_bin
+id=`git describe --abbrev=40 --candidates=50 HEAD`
+name=oclaunch-${id}_$(arch)_bin
 final_binary_path=./$name/oclaunch
 final_binary_name=oclaunch
 cp ./_build/src/oclaunch.native $dist/$final_binary_name

+ 1 - 1
pkg.sh

@@ -10,7 +10,7 @@ fi
 
 # If no tag, use commit SHA1
 id=`git describe --abbrev=40 --candidates=50 HEAD`
-name=OcLaunch_${id}_src # _src emphasis the difference with binary tarballs
+name=oclaunch_${id}_src # _src emphasis the difference with binary tarballs
 
 echo "Writing in" $name".*"
 git archive HEAD --prefix=${name}/ --format=zip -o dist/${name}.zip -9