diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-12 11:34:43 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-12 11:34:43 +0200 |
commit | 5e6b8b391243016cb06e9e107c2e6a13a744b31e (patch) | |
tree | c5e17794d5ca7b5f2ae4961a5a7a59cb1880ba97 /contrib/gitian-descriptors/gitian-osx.yml | |
parent | 9cc7eba1b5651195c05473004c00021fe3856f30 (diff) |
build: Use git archive as source tarball
Diffstat (limited to 'contrib/gitian-descriptors/gitian-osx.yml')
-rw-r--r-- | contrib/gitian-descriptors/gitian-osx.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/gitian-descriptors/gitian-osx.yml b/contrib/gitian-descriptors/gitian-osx.yml index 2b6aa599e0..a59afb268d 100644 --- a/contrib/gitian-descriptors/gitian-osx.yml +++ b/contrib/gitian-descriptors/gitian-osx.yml @@ -166,6 +166,8 @@ script: | find ${DISTNAME} | 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}-${i}.tar.gz cd ../../ done - mkdir -p $OUTDIR/src - mv $SOURCEDIST $OUTDIR/src + + mkdir -p ${OUTDIR}/src + git archive --output=${OUTDIR}/src/${DISTNAME}.tar.gz HEAD + mv ${OUTDIR}/${DISTNAME}-x86_64-*.tar.gz ${OUTDIR}/${DISTNAME}-osx64.tar.gz |