Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Update distribution certificate name and make some minor path tweaks …
…to the nightly build script
- Loading branch information
Showing
with
11 additions
and
11 deletions.
-
+2
−2
Scripts/build.sh
-
+9
−9
Scripts/nightlybuildscript.sh
|
@@ -55,12 +55,12 @@ dev_sign_resource() |
|
|
|
|
|
dist_sign_framework() |
|
|
{ |
|
|
codesign -f -s 'Developer ID Application: MJ Media' -r "${SRCROOT}/Resources/spframeworkrequirement.bin" "$1" 2> /dev/null |
|
|
codesign -f -s 'Developer ID Application: MJ Media (Y48LQG59RS)' -r "${SRCROOT}/Resources/spframeworkrequirement.bin" "$1" 2> /dev/null |
|
|
} |
|
|
|
|
|
dist_sign_resource() |
|
|
{ |
|
|
codesign -f -s 'Developer ID Application: MJ Media' -r "${SRCROOT}/Resources/sprequirement.bin" "$1" 2> /dev/null |
|
|
codesign -f -s 'Developer ID Application: MJ Media (Y48LQG59RS)' -r "${SRCROOT}/Resources/sprequirement.bin" "$1" 2> /dev/null |
|
|
} |
|
|
|
|
|
verify_signing() |
|
|
|
@@ -8,11 +8,11 @@ |
|
|
# Compiling this script with shc is quite straightforward - /usr/local/bin/shc -T -f <filename> , then move. |
|
|
|
|
|
# Hacky constants |
|
|
GIT_DIR=/Users/spbuildbot/buildbot/sequel-pro-10_7/build/ |
|
|
BUILD_DIR=/Users/spbuildbot/buildbot/sequel-pro-10_7/build/build/Release |
|
|
GIT_DIR=/Users/spbuildbot/buildbot/sequel-pro/build/ |
|
|
BUILD_DIR=/Users/spbuildbot/buildbot/sequel-pro/build/build/Release |
|
|
PRIVATE_KEY_LOC='LOCATION NOT COMMITTED' |
|
|
NIGHTLY_ICON_LOC=/Users/spbuildbot/Documents/nightly-icon.icns |
|
|
NIGHTLY_KEYCHAIN_LOC=/Users/spbuildbot/Library/Keychains/spnightly.keychain |
|
|
NIGHTLY_ICON_LOC=/Users/spbuildbot/buildbot/sequel-pro/build/Resources/Images/appIcon.icns |
|
|
NIGHTLY_KEYCHAIN_LOC=/Users/spbuildbot/Library/Keychains/spnightly.keychain-db |
|
|
NIGHTLY_KEYCHAIN_PASSWORD='PASSWORD NOT COMMITTED' |
|
|
|
|
|
# Ensure a revision hash was passed in |
|
@@ -117,10 +117,10 @@ php -r '$englishstringsloc = "/'$BUILD_DIR'/Sequel Pro.app/Contents/Resources/En |
|
|
echo "Signing build..." |
|
|
|
|
|
# Code sign and verify the nightly |
|
|
#security unlock-keychain -p "$NIGHTLY_KEYCHAIN_PASSWORD" "$NIGHTLY_KEYCHAIN_LOC" |
|
|
codesign -f --keychain "$NIGHTLY_KEYCHAIN_LOC" -s 'Developer ID Application: MJ Media' -r $GIT_DIR"/Resources/spframeworkrequirement.bin" "Sequel Pro.app/Contents/Resources/SequelProTunnelAssistant" |
|
|
codesign -f --keychain "$NIGHTLY_KEYCHAIN_LOC" -s 'Developer ID Application: MJ Media' -r $GIT_DIR"/Resources/sprequirement.bin" "Sequel Pro.app" |
|
|
#security lock-keychain "$NIGHTLY_KEYCHAIN_LOC" |
|
|
security unlock-keychain -p "$NIGHTLY_KEYCHAIN_PASSWORD" "$NIGHTLY_KEYCHAIN_LOC" |
|
|
codesign -f --keychain "$NIGHTLY_KEYCHAIN_LOC" -s 'Developer ID Application: MJ Media (Y48LQG59RS)' -r $GIT_DIR"/Resources/spframeworkrequirement.bin" "Sequel Pro.app/Contents/Resources/SequelProTunnelAssistant" |
|
|
codesign -f --keychain "$NIGHTLY_KEYCHAIN_LOC" -s 'Developer ID Application: MJ Media (Y48LQG59RS)' -r $GIT_DIR"/Resources/sprequirement.bin" "Sequel Pro.app" |
|
|
security lock-keychain "$NIGHTLY_KEYCHAIN_LOC" |
|
|
VERIFYERRORS=`codesign --verify "Sequel Pro.app" 2>&1` |
|
|
VERIFYERRORS+=`codesign --verify "Sequel Pro.app/Contents/Resources/SequelProTunnelAssistant" 2>&1` |
|
|
if [ "$VERIFYERRORS" != '' ] |
|
@@ -186,4 +186,4 @@ then |
|
|
exit 1 |
|
|
fi |
|
|
|
|
|
echo "Done!"
|
|
|
echo "Done!" |