From 9e0ab9c6cbdb5eca2a2d6056980ff4e70f5b39a6 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 28 Oct 2014 00:40:09 +0100 Subject: [PATCH] Clean up build-release-osx.sh --- admin/mac/build-release-osx.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/admin/mac/build-release-osx.sh b/admin/mac/build-release-osx.sh index 8d7973613..8ec8aaa06 100755 --- a/admin/mac/build-release-osx.sh +++ b/admin/mac/build-release-osx.sh @@ -4,6 +4,8 @@ # ################################################################################ +set -e + function header { echo -e "\033[0;34m==>\033[0;0;1m $1 \033[0;0m" @@ -27,9 +29,6 @@ VERSION=$1 ################################################################################ - mv tomahawk.app Tomahawk.app - mv Tomahawk.app/Contents/MacOS/tomahawk Tomahawk.app/Contents/MacOS/Tomahawk - header "Fixing and copying libraries" $ROOT/../admin/mac/macdeploy.py Tomahawk.app quiet @@ -39,7 +38,7 @@ VERSION=$1 header "Copying Sparkle framework" cp -R /Library/Frameworks/Sparkle.framework Contents/Frameworks - + header "Creating DMG" cd .. @@ -48,9 +47,8 @@ VERSION=$1 $ROOT/../admin/mac/create-dmg.sh Tomahawk.app mv Tomahawk.dmg Tomahawk-$VERSION.dmg - + header "Creating signed Sparkle update" $ROOT/../admin/mac/sign_bundle.rb $VERSION ~/tomahawk_sparkle_privkey.pem - mv Tomahawk.app tomahawk.app header "Done!"