mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
build: Include all MacOS binaries for codesigning
Github-Pull: #31407
Rebased-From: dd4ec840ee
This commit is contained in:
parent
1248d0da22
commit
8f33e97276
@ -289,24 +289,6 @@ mkdir -p "$DISTSRC"
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$HOST" in
|
|
||||||
*darwin*)
|
|
||||||
make deploydir ${V:+V=1}
|
|
||||||
mkdir -p "unsigned-app-${HOST}"
|
|
||||||
cp --target-directory="unsigned-app-${HOST}" \
|
|
||||||
contrib/macdeploy/detached-sig-create.sh
|
|
||||||
mv --target-directory="unsigned-app-${HOST}" dist
|
|
||||||
(
|
|
||||||
cd "unsigned-app-${HOST}"
|
|
||||||
find . -print0 \
|
|
||||||
| sort --zero-terminated \
|
|
||||||
| tar --create --no-recursion --mode='u+rw,go+r-w,a+X' --null --files-from=- \
|
|
||||||
| gzip -9n > "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" \
|
|
||||||
|| ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" && exit 1 )
|
|
||||||
)
|
|
||||||
make deploy ${V:+V=1} OSX_ZIP="${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
(
|
(
|
||||||
cd installed
|
cd installed
|
||||||
|
|
||||||
@ -339,7 +321,7 @@ mkdir -p "$DISTSRC"
|
|||||||
|
|
||||||
cp -r "${DISTSRC}/share/rpcauth" "${DISTNAME}/share/"
|
cp -r "${DISTSRC}/share/rpcauth" "${DISTNAME}/share/"
|
||||||
|
|
||||||
# Finally, deterministically produce {non-,}debug binary tarballs ready
|
# Deterministically produce {non-,}debug binary tarballs ready
|
||||||
# for release
|
# for release
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
*mingw*)
|
*mingw*)
|
||||||
@ -378,6 +360,7 @@ mkdir -p "$DISTSRC"
|
|||||||
esac
|
esac
|
||||||
) # $DISTSRC/installed
|
) # $DISTSRC/installed
|
||||||
|
|
||||||
|
# Finally make tarballs for codesigning
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
*mingw*)
|
*mingw*)
|
||||||
cp -rf --target-directory=. contrib/windeploy
|
cp -rf --target-directory=. contrib/windeploy
|
||||||
@ -392,6 +375,23 @@ mkdir -p "$DISTSRC"
|
|||||||
|| ( rm -f "${OUTDIR}/${DISTNAME}-win64-unsigned.tar.gz" && exit 1 )
|
|| ( rm -f "${OUTDIR}/${DISTNAME}-win64-unsigned.tar.gz" && exit 1 )
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
*darwin*)
|
||||||
|
make deploydir ${V:+V=1}
|
||||||
|
mkdir -p "unsigned-app-${HOST}"
|
||||||
|
cp --target-directory="unsigned-app-${HOST}" \
|
||||||
|
contrib/macdeploy/detached-sig-create.sh
|
||||||
|
mv --target-directory="unsigned-app-${HOST}" dist
|
||||||
|
cp -r --target-directory="unsigned-app-${HOST}" "${INSTALLPATH}"
|
||||||
|
(
|
||||||
|
cd "unsigned-app-${HOST}"
|
||||||
|
find . -print0 \
|
||||||
|
| sort --zero-terminated \
|
||||||
|
| tar --create --no-recursion --mode='u+rw,go+r-w,a+X' --null --files-from=- \
|
||||||
|
| gzip -9n > "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" \
|
||||||
|
|| ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.tar.gz" && exit 1 )
|
||||||
|
)
|
||||||
|
make deploy ${V:+V=1} OSX_ZIP="${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
) # $DISTSRC
|
) # $DISTSRC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user