Fixed make_tarball.sh to get VERSION set.

This commit is contained in:
John MacFarlane 2017-10-22 21:41:23 -07:00
parent 046e7b408a
commit 33eff69047

View file

@ -1,8 +1,8 @@
set -e
TARGET=pandoc-$VERSION
ARTIFACTS="${ARTIFACTS:-/artifacts}"
VERSION=`$ARTIFACTS/pandoc --version | awk '{print $2; exit;}'`
TARGET=pandoc-$VERSION
cd $ARTIFACTS
rm -rf $TARGET