mirror of
https://github.com/monero-project/monero.git
synced 2025-12-12 15:50:28 -08:00
Add windows descriptor to gitian descriptors
Windows is built with a seperate descriptor to handle additional changes that need to be done to the end binary. Consolidate the gitian-build script for this change.
This commit is contained in:
@@ -154,9 +154,9 @@ script: |
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake
|
||||
make
|
||||
DISTNAME=monero-${i}.tar.gz
|
||||
tar -cvzf $DISTNAME bin/*
|
||||
cp $DISTNAME $OUTDIR/
|
||||
DISTNAME=monero-${i}
|
||||
mv bin ${DISTNAME}
|
||||
find ${DISTNAME}/ | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}.tar.gz
|
||||
cd ..
|
||||
rm -rf build
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user