aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian/gitian-linux.yml
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2018-10-09 22:24:49 +0200
committerTheCharlatan <seb.kung@gmail.com>2018-10-09 22:24:49 +0200
commitd147d24058ef4d4e25ff0603b6bc89f2d4095874 (patch)
tree610409b2406ad4d0669b9c293c616f2431370071 /contrib/gitian/gitian-linux.yml
parentChange gitian.sigs repo from bitcoin-core to monero-project remote host (diff)
downloadmonero-d147d24058ef4d4e25ff0603b6bc89f2d4095874.tar.xz
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.
Diffstat (limited to 'contrib/gitian/gitian-linux.yml')
-rw-r--r--contrib/gitian/gitian-linux.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gitian/gitian-linux.yml b/contrib/gitian/gitian-linux.yml
index 751fbadd3..e64e28bbc 100644
--- a/contrib/gitian/gitian-linux.yml
+++ b/contrib/gitian/gitian-linux.yml
@@ -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