build, mac: Include arch in codesignature tarball

Github-Pull: #24506
Rebased-From: 0189df1d31
This commit is contained in:
Andrew Chow 2022-03-09 09:09:40 -05:00 committed by Thomas Trevethan
parent 638095e811
commit 141288d44d

View file

@ -8,9 +8,11 @@ set -e
ROOTDIR=dist
BUNDLE="${ROOTDIR}/Elements-Qt.app"
BINARY="${BUNDLE}/Contents/MacOS/Elements-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