diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-08 12:43:05 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-08 21:04:53 +0100 |
commit | 382af61f6213e975b4c2a50fd8b9fedd23d86ab5 (patch) | |
tree | 9b9bd93167cef2658129f9fee94b303c18fa040d /.travis-create-release.sh | |
parent | Make it possible to affect the way dists are made (diff) | |
download | openssl-382af61f6213e975b4c2a50fd8b9fedd23d86ab5.tar.xz openssl-382af61f6213e975b4c2a50fd8b9fedd23d86ab5.zip |
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 <rsalz@openssl.org>
Diffstat (limited to '.travis-create-release.sh')
-rw-r--r-- | .travis-create-release.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |