Fix deploy script.

This commit is contained in:
chriseth 2016-10-04 23:10:30 +02:00
parent f52634a339
commit c841eb0a9c

View File

@ -67,6 +67,7 @@ then
fi fi
FULLVERSION="$VER+commit.$COMMIT" FULLVERSION="$VER+commit.$COMMIT"
elif [ "$TRAVIS_BRANCH" = develop ] elif [ "$TRAVIS_BRANCH" = develop ]
then
# We only want one release per day and we do not want to push the same commit twice. # We only want one release per day and we do not want to push the same commit twice.
if ls ./bin/soljson-"$VER-nightly.$DATE"*.js || ls ./bin/soljson-*"commit.$COMMIT.js" if ls ./bin/soljson-"$VER-nightly.$DATE"*.js || ls ./bin/soljson-*"commit.$COMMIT.js"
then then