Fix adding the date prefix.

This commit is contained in:
Vassil Vassilev 2016-08-08 13:27:11 +02:00 committed by sftnight
parent 4dcd5f599e
commit 20cc177632

View File

@ -159,7 +159,7 @@ before_deploy:
- |
export RELEASE_TARBALL=$(ls $HOME/ci/build/cling*.tar.bz2)
if [[ $TRAVIS_TAG -eq "cling-nightlies" ]]; then
NIGHTLY=$(dirname $RELEASE_TARBALL/`date "+%Y-%b-%d-"``basename $RELEASE_TARBALL`)
NIGHTLY=$(`dirname $RELEASE_TARBALL`/`date "+%Y-%b-%d-"``basename $RELEASE_TARBALL`)
echo "Renaming $RELEASE_TARBALL to $NIGHTLY"
mv $RELEASE_TARBALL $NIGHTLY
export RELEASE_TARBALL=$NIGHTLY