Include platform name in also the directory name in binary pkgs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
VERSION=`git describe --always`
|
||||
VERSION=`git describe --always`-linux-x86
|
||||
DEST=dist/$VERSION
|
||||
|
||||
rm -rf $DEST
|
||||
@@ -42,5 +42,5 @@ EOF
|
||||
chmod +x $DEST/generator-bin/protoc
|
||||
|
||||
# Tar it all up
|
||||
( cd dist; tar -czf $VERSION-linux.tar.gz $VERSION )
|
||||
( cd dist; tar -czf $VERSION.tar.gz $VERSION )
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
VERSION=`git describe --always`
|
||||
VERSION=`git describe --always`-macosx-x86
|
||||
DEST=dist/$VERSION
|
||||
|
||||
rm -rf $DEST
|
||||
@@ -45,5 +45,5 @@ EOF
|
||||
chmod +x $DEST/generator-bin/protoc
|
||||
|
||||
# Tar it all up
|
||||
( cd dist; tar -czf $VERSION-mac.tgz $VERSION )
|
||||
( cd dist; tar -czf $VERSION.tgz $VERSION )
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
VERSION=`git describe --always`
|
||||
VERSION=`git describe --always`-windows-x86
|
||||
DEST=dist/$VERSION
|
||||
|
||||
rm -rf $DEST
|
||||
@@ -52,4 +52,4 @@ find $DEST -name '*.c' -o -name '*.h' -o -name '*.txt' \
|
||||
-exec unix2dos '{}' \;
|
||||
|
||||
# Zip it all up
|
||||
( cd dist; zip -r $VERSION-windows.zip $VERSION )
|
||||
( cd dist; zip -r $VERSION.zip $VERSION )
|
||||
|
||||
Reference in New Issue
Block a user