set -e
set -x
-VERSION=`git describe --always`
+VERSION=`git describe --always`-linux-x86
DEST=dist/$VERSION
rm -rf $DEST
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 )
set -e
set -x
-VERSION=`git describe --always`
+VERSION=`git describe --always`-macosx-x86
DEST=dist/$VERSION
rm -rf $DEST
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 )
set -e
set -x
-VERSION=`git describe --always`
+VERSION=`git describe --always`-windows-x86
DEST=dist/$VERSION
rm -rf $DEST
-exec unix2dos '{}' \;
# Zip it all up
-( cd dist; zip -r $VERSION-windows.zip $VERSION )
+( cd dist; zip -r $VERSION.zip $VERSION )