Skip to content

Commit

Permalink
#1340 split signing of app into a separate step so we can call it fro…
Browse files Browse the repository at this point in the history
…m the signing host

git-svn-id: https://xpra.org/svn/Xpra/trunk@14155 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 14, 2016
1 parent 9231be4 commit c7715c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion osx/make-all.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

./make-app.sh && ./make-DMG.sh && ./make-PKG.sh
./make-app.sh && ./sign-app.sh && ./make-DMG.sh && ./make-PKG.sh
8 changes: 0 additions & 8 deletions osx/make-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,3 @@ rsync --delete -rplogt "${IMAGE_DIR}" ~/Desktop/
echo "Done"
echo "*******************************************************************************"
echo

echo "*******************************************************************************"
if [ ! -z "${CODESIGN_KEYNAME}" ]; then
echo "Signing with key '${CODESIGN_KEYNAME}'"
codesign --deep --force --verify --verbose --sign "Developer ID Application: ${CODESIGN_KEYNAME}" Xpra.app
else
echo "Signing skipped (no keyname)"
fi
10 changes: 10 additions & 0 deletions osx/sign-app.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

IMAGE_DIR="./image/Xpra.app"

if [ ! -z "${CODESIGN_KEYNAME}" ]; then
echo "Signing with key '${CODESIGN_KEYNAME}'"
codesign --deep --force --verify --verbose --sign "Developer ID Application: ${CODESIGN_KEYNAME}" ${IMAGE_DIR}
else
echo "Signing skipped (no keyname)"
fi

0 comments on commit c7715c7

Please sign in to comment.