aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/gitian-osx-signer.yml
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-01-07 13:42:07 -0500
committerAndrew Chow <achow101-github@achow101.com>2021-06-08 16:57:28 -0400
commit2f33e339a8903e79bf750367c073056bea4a9788 (patch)
treeaf9f2434eb74b626e5939ad36ab70c91b0199a05 /contrib/gitian-descriptors/gitian-osx-signer.yml
parent65ce8330427114c2827d00a658d2e5887349c76a (diff)
gitian: use signapple to apply the MacOS code signature
Github-Pull: #20880 Rebased-From: 95b06d21852b28712db6c710e420a58bdc1a0944
Diffstat (limited to 'contrib/gitian-descriptors/gitian-osx-signer.yml')
-rw-r--r--contrib/gitian-descriptors/gitian-osx-signer.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gitian-descriptors/gitian-osx-signer.yml b/contrib/gitian-descriptors/gitian-osx-signer.yml
index 5f0501756d..c204e6a3f4 100644
--- a/contrib/gitian-descriptors/gitian-osx-signer.yml
+++ b/contrib/gitian-descriptors/gitian-osx-signer.yml
@@ -41,11 +41,12 @@ script: |
export PATH="$HOME/.local/bin":$PATH
cd ..
- UNSIGNED=bitcoin-osx-unsigned.tar.gz
+ UNSIGNED_TARBALL=bitcoin-osx-unsigned.tar.gz
+ UNSIGNED_APP=dist/Bitcoin-Qt.app
SIGNED=bitcoin-osx-signed.dmg
- tar -xf ${UNSIGNED}
+ tar -xf ${UNSIGNED_TARBALL}
OSX_VOLNAME="$(cat osx_volname)"
- ./detached-sig-apply.sh ${UNSIGNED} signature/osx
+ ./detached-sig-apply.sh ${UNSIGNED_APP} signature/osx/dist
${WRAP_DIR}/genisoimage -no-cache-inodes -D -l -probe -V "${OSX_VOLNAME}" -no-pad -r -dir-mode 0755 -apple -o uncompressed.dmg signed-app
${WRAP_DIR}/dmg dmg uncompressed.dmg ${OUTDIR}/${SIGNED}