mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
OSX release script now expects cert signer as an additional parameter.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/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 ]
|
if [ -z $1 ]
|
||||||
then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ROOT=`pwd`
|
ROOT=`pwd`
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
|
CERT_SIGNER=$2
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
@@ -43,7 +44,7 @@ VERSION=$1
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
header "Signing bundle"
|
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
|
||||||
|
|
||||||
$ROOT/../admin/mac/create-dmg.sh Tomahawk.app
|
$ROOT/../admin/mac/create-dmg.sh Tomahawk.app
|
||||||
mv Tomahawk.dmg Tomahawk-$VERSION.dmg
|
mv Tomahawk.dmg Tomahawk-$VERSION.dmg
|
||||||
|
Reference in New Issue
Block a user