summaryrefslogtreecommitdiffstats
path: root/.travis-create-release.sh
blob: 311cedd69c098b252529fbcfb82e1dba4ac42b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

# $1 is expected to be $TRAVIS_OS_NAME

./Configure dist
if [ "$1" == osx ]; then
    make NAME='_srcdist' TARFILE='_srcdist.tar' \
         TAR_COMMAND='$(TAR) $(TARFLAGS) -cvf -' tar
else
    make TARFILE='_srcdist.tar' NAME='_srcdist' dist
fi