Skip to content

Commit 1fd91da

Browse files
achow101fanquake
authored andcommitted
build, mac: Include arch in codesignature tarball
Github-Pull: #24506 Rebased-From: 0189df1
1 parent eba4658 commit 1fd91da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/macdeploy/detached-sig-create.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ set -e
88

99
ROOTDIR=dist
1010
BUNDLE="${ROOTDIR}/Bitcoin-Qt.app"
11+
BINARY="${BUNDLE}/Contents/MacOS/Bitcoin-Qt"
1112
SIGNAPPLE=signapple
1213
TEMPDIR=sign.temp
13-
OUT=signature-osx.tar.gz
14+
ARCH=$(${SIGNAPPLE} info ${BINARY} | head -n 1 | cut -d " " -f 1)
15+
OUT="signature-osx-${ARCH}.tar.gz"
1416
OUTROOT=osx/dist
1517

1618
if [ -z "$1" ]; then

0 commit comments

Comments
 (0)