mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
build: Include all MacOS binaries for codesigning
This commit is contained in:
parent
4e5c9ceb9d
commit
dd4ec840ee
1 changed files with 19 additions and 19 deletions
|
@ -283,24 +283,6 @@ mkdir -p "$DISTSRC"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$HOST" in
|
|
||||||
*darwin*)
|
|
||||||
cmake --build build --target deploy ${V:+--verbose}
|
|
||||||
mv build/dist/Bitcoin-Core.zip "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
|
|
||||||
mkdir -p "unsigned-app-${HOST}"
|
|
||||||
cp --target-directory="unsigned-app-${HOST}" \
|
|
||||||
contrib/macdeploy/detached-sig-create.sh
|
|
||||||
mv --target-directory="unsigned-app-${HOST}" build/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}-codesigning.tar.gz" \
|
|
||||||
|| ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-codesigning.tar.gz" && exit 1 )
|
|
||||||
)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
(
|
(
|
||||||
cd installed
|
cd installed
|
||||||
|
|
||||||
|
@ -329,7 +311,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*)
|
||||||
|
@ -368,6 +350,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
|
||||||
|
@ -382,6 +365,23 @@ mkdir -p "$DISTSRC"
|
||||||
|| ( rm -f "${OUTDIR}/${DISTNAME}-win64-codesigning.tar.gz" && exit 1 )
|
|| ( rm -f "${OUTDIR}/${DISTNAME}-win64-codesigning.tar.gz" && exit 1 )
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
*darwin*)
|
||||||
|
cmake --build build --target deploy ${V:+--verbose}
|
||||||
|
mv build/dist/Bitcoin-Core.zip "${OUTDIR}/${DISTNAME}-${HOST}-unsigned.zip"
|
||||||
|
mkdir -p "unsigned-app-${HOST}"
|
||||||
|
cp --target-directory="unsigned-app-${HOST}" \
|
||||||
|
contrib/macdeploy/detached-sig-create.sh
|
||||||
|
mv --target-directory="unsigned-app-${HOST}" build/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}-codesigning.tar.gz" \
|
||||||
|
|| ( rm -f "${OUTDIR}/${DISTNAME}-${HOST}-codesigning.tar.gz" && exit 1 )
|
||||||
|
)
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
) # $DISTSRC
|
) # $DISTSRC
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue