From e0c074092c95010120f4cf2f67c91a8035bb0ae9 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 18 Dec 2014 22:07:59 +0100 Subject: [PATCH] OSX release script now expects cert signer as an additional parameter. --- admin/mac/build-release-osx.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/mac/build-release-osx.sh b/admin/mac/build-release-osx.sh index 9979bd77a..940f30a20 100755 --- a/admin/mac/build-release-osx.sh +++ b/admin/mac/build-release-osx.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Usage: ./admin/mac/build-release-osx.sh [--no-clean] +# Usage: ./admin/mac/build-release-osx.sh VERSION CERT_SIGNER [--no-clean] # ################################################################################ @@ -20,12 +20,13 @@ function die { if [ -z $1 ] then - echo This script expects the version number as a parameter, e.g. 1.0.0 + echo This script expects the version number and cert-signer as parameters, e.g. "1.0.0 John Doe" exit 1 fi ROOT=`pwd` VERSION=$1 +CERT_SIGNER=$2 ################################################################################ @@ -44,7 +45,7 @@ VERSION=$1 cd .. header "Signing bundle" - codesign -s "Developer ID Application: Leonardo Franchi" -f -v ./Tomahawk.app + codesign -s "Developer ID Application: $CERT_SIGNER" -f -v ./Tomahawk.app if [ -f ~/sign_step.sh ]; then