88# Compiling this script with shc is quite straightforward - /usr/local/bin/shc -T -f <filename> , then move.
99
1010# Hacky constants
11- GIT_DIR=/Users/spbuildbot/buildbot/sequel-pro-10_7 /build/
12- BUILD_DIR=/Users/spbuildbot/buildbot/sequel-pro-10_7 /build/build/Release
11+ GIT_DIR=/Users/spbuildbot/buildbot/sequel-pro/build/
12+ BUILD_DIR=/Users/spbuildbot/buildbot/sequel-pro/build/build/Release
1313PRIVATE_KEY_LOC=' LOCATION NOT COMMITTED'
14- NIGHTLY_ICON_LOC=/Users/spbuildbot/Documents/nightly-icon .icns
15- NIGHTLY_KEYCHAIN_LOC=/Users/spbuildbot/Library/Keychains/spnightly.keychain
14+ NIGHTLY_ICON_LOC=/Users/spbuildbot/buildbot/sequel-pro/build/Resources/Images/appIcon .icns
15+ NIGHTLY_KEYCHAIN_LOC=/Users/spbuildbot/Library/Keychains/spnightly.keychain-db
1616NIGHTLY_KEYCHAIN_PASSWORD=' PASSWORD NOT COMMITTED'
1717
1818# Ensure a revision hash was passed in
@@ -117,10 +117,10 @@ php -r '$englishstringsloc = "/'$BUILD_DIR'/Sequel Pro.app/Contents/Resources/En
117117echo " Signing build..."
118118
119119# Code sign and verify the nightly
120- # security unlock-keychain -p "$NIGHTLY_KEYCHAIN_PASSWORD" "$NIGHTLY_KEYCHAIN_LOC"
121- codesign -f --keychain " $NIGHTLY_KEYCHAIN_LOC " -s ' Developer ID Application: MJ Media' -r $GIT_DIR " /Resources/spframeworkrequirement.bin" " Sequel Pro.app/Contents/Resources/SequelProTunnelAssistant"
122- codesign -f --keychain " $NIGHTLY_KEYCHAIN_LOC " -s ' Developer ID Application: MJ Media' -r $GIT_DIR " /Resources/sprequirement.bin" " Sequel Pro.app"
123- # security lock-keychain "$NIGHTLY_KEYCHAIN_LOC"
120+ security unlock-keychain -p " $NIGHTLY_KEYCHAIN_PASSWORD " " $NIGHTLY_KEYCHAIN_LOC "
121+ 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"
122+ codesign -f --keychain " $NIGHTLY_KEYCHAIN_LOC " -s ' Developer ID Application: MJ Media (Y48LQG59RS) ' -r $GIT_DIR " /Resources/sprequirement.bin" " Sequel Pro.app"
123+ security lock-keychain " $NIGHTLY_KEYCHAIN_LOC "
124124VERIFYERRORS=` codesign --verify " Sequel Pro.app" 2>&1 `
125125VERIFYERRORS+=` codesign --verify " Sequel Pro.app/Contents/Resources/SequelProTunnelAssistant" 2>&1 `
126126if [ " $VERIFYERRORS " != ' ' ]
186186 exit 1
187187fi
188188
189- echo " Done!"
189+ echo " Done!"
0 commit comments