aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-03-09 09:09:40 -0500
committerAndrew Chow <achow101-github@achow101.com>2022-03-09 10:38:24 -0500
commit0189df1d3171082caf743ef3b0968f43c71303f5 (patch)
tree3f2bca5a67c55c5f5bb6dfa67c326ae3a9525186 /contrib
parent6e9308c6d4ed9fbf909c7234ae31245747183be3 (diff)
build, mac: Include arch in codesignature tarball
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/macdeploy/detached-sig-create.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/macdeploy/detached-sig-create.sh b/contrib/macdeploy/detached-sig-create.sh
index 0d61ceb9df..f393331084 100755
--- a/contrib/macdeploy/detached-sig-create.sh
+++ b/contrib/macdeploy/detached-sig-create.sh
@@ -8,9 +8,11 @@ set -e
ROOTDIR=dist
BUNDLE="${ROOTDIR}/Bitcoin-Qt.app"
+BINARY="${BUNDLE}/Contents/MacOS/Bitcoin-Qt"
SIGNAPPLE=signapple
TEMPDIR=sign.temp
-OUT=signature-osx.tar.gz
+ARCH=$(${SIGNAPPLE} info ${BINARY} | head -n 1 | cut -d " " -f 1)
+OUT="signature-osx-${ARCH}.tar.gz"
OUTROOT=osx/dist
if [ -z "$1" ]; then