Skip to content

Commit 7aa2823

Browse files
dongcarlFuzzbawls
authored andcommitted
gitian: Put things in the right place to begin with
1 parent 0dcf6e6 commit 7aa2823

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ script: |
157157
find ${DISTNAME}/bin -type f -executable -print0 | xargs -0 -n1 -I{} ../contrib/devtools/split-debug.sh {} {} {}.dbg
158158
# find ${DISTNAME}/lib -type f -print0 | xargs -0 -n1 -I{} ../contrib/devtools/split-debug.sh {} {} {}.dbg
159159
cp ../doc/README_windows.txt ${DISTNAME}/readme.txt
160-
find ${DISTNAME} -not -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i}.zip
161-
find ${DISTNAME} -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i}-debug.zip
160+
find ${DISTNAME} -not -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i//x86_64-w64-mingw32/win64}.zip
161+
find ${DISTNAME} -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i//x86_64-w64-mingw32/win64}-debug.zip
162162
cd ../../
163163
rm -rf distsrc-${i}
164164
done
@@ -169,5 +169,3 @@ script: |
169169
mkdir unsigned
170170
cp $OUTDIR/pivx-*setup-unsigned.exe unsigned/
171171
find . | sort | tar --mtime="$REFERENCE_DATETIME" --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz
172-
mv ${OUTDIR}/${DISTNAME}-x86_64-*-debug.zip ${OUTDIR}/${DISTNAME}-win64-debug.zip
173-
mv ${OUTDIR}/${DISTNAME}-x86_64-*.zip ${OUTDIR}/${DISTNAME}-win64.zip

0 commit comments

Comments
 (0)