Skip to content

Commit d256f91

Browse files
committed
rel-builds: Directly deploy win installer to OUTDIR
1 parent fa791da commit d256f91

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ script: |
133133
make ${MAKEOPTS}
134134
make ${MAKEOPTS} -C src check-security
135135
make ${MAKEOPTS} -C src check-symbols
136-
make deploy
136+
make deploy BITCOIN_WIN_INSTALLER="${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
137137
make install DESTDIR=${INSTALLPATH}
138-
cp -f ./bitcoin-*-win64-setup-unsigned.exe ${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe
139138
cd installed
140139
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
141140
find . -name "lib*.la" -delete

contrib/guix/libexec/build.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
220220
# Make the os-specific installers
221221
case "$HOST" in
222222
*mingw*)
223-
make deploy ${V:+V=1}
223+
make deploy ${V:+V=1} BITCOIN_WIN_INSTALLER="${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
224224
;;
225225
esac
226226

@@ -232,19 +232,6 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
232232
# Install built Bitcoin Core to $INSTALLPATH
233233
make install DESTDIR="${INSTALLPATH}" ${V:+V=1}
234234

235-
case "$HOST" in
236-
*mingw*)
237-
# This step not only moves the unsigned NSIS executable to
238-
# "${OUTDIR}", but also renames it
239-
#
240-
# from:
241-
# bitcoin-@[email protected]
242-
# to:
243-
# ${DISTNAME}-win64-setup-unsigned.exe
244-
#
245-
cp -f ./bitcoin-*-win64-setup-unsigned.exe "${OUTDIR}/${DISTNAME}-win64-setup-unsigned.exe"
246-
;;
247-
esac
248235
(
249236
cd installed
250237

0 commit comments

Comments
 (0)