Browse Source

Use different names for source and binary archives

Leo 9 years ago
parent
commit
5204c6f6a2
3 changed files with 4 additions and 5 deletions
  1. 2 2
      0install.sh
  2. 1 2
      CHANGELOG.md
  3. 1 1
      pkg.sh

+ 2 - 2
0install.sh

@@ -17,8 +17,8 @@ dist=./dist
 if [ ! -d $dist ]; then
   mkdir $dist
 fi
-# Archive name
-name=oclaunch-v$(cat ./VERSION)_$(arch)
+# Archive name, _the bin emphasis the difference with source tarball
+name=oclaunch-v$(cat ./VERSION)_$(arch)_bin
 final_binary_path=./$name/oclaunch
 final_binary_name=oclaunch
 cp ./_build/src/oclaunch.native $dist/$final_binary_name

+ 1 - 2
CHANGELOG.md

@@ -34,8 +34,7 @@
      number of launch when nothing is actually launched)
    + For the futur : Running infinite, daemon mode...
  + Improve release script, to enhance contributing experience (making easier to
-   release source-code, binaries, signing…). TODO Merge name format of
-   Oinstall.sh and pkg.sh
+   release source-code, binaries, signing…).
 
 ## 0.2.x
 

+ 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}
+name=OcLaunch_${id}_src # _src emphasis the difference with binary tarballs
 
 echo "Writing in" $name".*"
 git archive HEAD --prefix=${name}/ --format=tar.gz -o dist/${name}.tar.gz -9