From c65e545ab45c65d1d7c336937cce8889ad82d229 Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Wed, 24 Feb 2016 15:26:35 +0100 Subject: [PATCH] build: Fixed version number for Mac bundle --- setup/MacOSX/bundle_install.sh.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/MacOSX/bundle_install.sh.in b/setup/MacOSX/bundle_install.sh.in index 16cb9b42..9bfd68d6 100755 --- a/setup/MacOSX/bundle_install.sh.in +++ b/setup/MacOSX/bundle_install.sh.in @@ -22,7 +22,7 @@ then echo $APP_NAME fi -VERSION_STRING=$(git describe) +VERSION_STRING=$(git describe --long) VERSION_STRING="${VERSION_STRING//-/_}" VERSION_STRING="${VERSION_STRING//./_}" VERSION_STRING="${VERSION_STRING%_*}" @@ -219,9 +219,9 @@ iconutil -c icns -o $RES_DIR/project.icns $ICON_SET # echo -e $INFO "Obfuscate binary" # upx -1 $APP_PATH -# upx --best $APP_PATH +upx --best $APP_PATH # echo -e $INFO "create DMG" -# hdiutil create ${PACKAGE_DIR}.dmg -volname ${PACKAGE_DIR} -srcfolder ${PACKAGE_DIR} +hdiutil create ${PACKAGE_DIR}.dmg -volname ${PACKAGE_DIR} -srcfolder ${PACKAGE_DIR} echo -e $SUCCESS "Installed bundle successfully!"