Include platform name in also the directory name in binary pkgs

This commit is contained in:
Petteri Aimonen
2013-12-29 20:25:36 +02:00
parent 55bd3d706b
commit b2ec9e29b3
3 changed files with 6 additions and 6 deletions

View File

@@ -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 )

View File

@@ -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 )

View File

@@ -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 )