mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-30 06:51:08 +02:00
rel-builds: Directly deploy win installer to OUTDIR
This commit is contained in:
@@ -133,9 +133,8 @@ script: |
|
|||||||
make ${MAKEOPTS}
|
make ${MAKEOPTS}
|
||||||
make ${MAKEOPTS} -C src check-security
|
make ${MAKEOPTS} -C src check-security
|
||||||
make ${MAKEOPTS} -C src check-symbols
|
make ${MAKEOPTS} -C src check-symbols
|
||||||
make deploy
|
make deploy BITCOIN_WIN_INSTALLER="${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
|
||||||
make install DESTDIR=${INSTALLPATH}
|
make install DESTDIR=${INSTALLPATH}
|
||||||
cp -f ./bitcoin-*-win64-setup-unsigned.exe ${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe
|
|
||||||
cd installed
|
cd installed
|
||||||
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
|
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
|
||||||
find . -name "lib*.la" -delete
|
find . -name "lib*.la" -delete
|
||||||
|
@@ -220,7 +220,7 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
|
|||||||
# Make the os-specific installers
|
# Make the os-specific installers
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
*mingw*)
|
*mingw*)
|
||||||
make deploy ${V:+V=1}
|
make deploy ${V:+V=1} BITCOIN_WIN_INSTALLER="${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -232,19 +232,6 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
|
|||||||
# Install built Bitcoin Core to $INSTALLPATH
|
# Install built Bitcoin Core to $INSTALLPATH
|
||||||
make install DESTDIR="${INSTALLPATH}" ${V:+V=1}
|
make install DESTDIR="${INSTALLPATH}" ${V:+V=1}
|
||||||
|
|
||||||
case "$HOST" in
|
|
||||||
*mingw*)
|
|
||||||
# This step not only moves the unsigned NSIS executable to
|
|
||||||
# "${OUTDIR}", but also renames it
|
|
||||||
#
|
|
||||||
# from:
|
|
||||||
# bitcoin-@PACKAGE_VERSION@-win64-setup-unsigned.exe
|
|
||||||
# to:
|
|
||||||
# ${DISTNAME}-win64-setup-unsigned.exe
|
|
||||||
#
|
|
||||||
cp -f ./bitcoin-*-win64-setup-unsigned.exe "${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
(
|
(
|
||||||
cd installed
|
cd installed
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user