From 382af61f6213e975b4c2a50fd8b9fedd23d86ab5 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 8 Dec 2015 12:43:05 +0100 Subject: Adapt the OS X build to use the OS X tar As part of this, move release creation to a script to be called from .travis.yml. That makes it much easier to test outside of travis. Reviewed-by: Rich Salz --- .travis-create-release.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis-create-release.sh (limited to '.travis-create-release.sh') diff --git a/.travis-create-release.sh b/.travis-create-release.sh new file mode 100644 index 0000000000..0404fc1248 --- /dev/null +++ b/.travis-create-release.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +# $1 is expected to be $TRAVIS_OS_NAME + +if [ "$1" == osx ]; then + make -f Makefile.org \ + DISTTARVARS="NAME=_srcdist TAR_COMMAND='\$\$(TAR) \$\$(TARFLAGS) -s \"|^|\$\$(NAME)/|\" -T \$\$(TARFILE).list -cvf -' TARFLAGS='-n' TARFILE=_srcdist.tar" SHELL='sh -vx' dist +else + make -f Makefile.org DISTTARVARS='TARFILE=_srcdist.tar NAME=_srcdist' SHELL='sh -v' dist +fi -- cgit v1.2.3