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:
TheCharlatan 2018-10-09 22:24:49 +02:00
parent fed4e59886
commit d147d24058
3 changed files with 142 additions and 7 deletions

View file

@ -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