Debug publishing.

This commit is contained in:
chriseth 2016-08-11 16:39:38 +02:00
parent f2bec51a96
commit 2561b73a40

View File

@ -52,16 +52,11 @@ git config user.email "chris@ethereum.org"
git checkout -B gh-pages origin/gh-pages
git clean -f -d -x
# We only want one release per day and we do not want to push the same commit twice.
set -v
pwd
ls
ls ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
for f in ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
do
ls "$f"
[ -f "$f" ] && echo "Not publishing, we already published this version today." && exit 0
done
if ls ./bin/soljson-"$VER-$DATE"-*.js || ls ./bin/soljson-*-"$COMMIT.js"
then
echo "Not publishing, we already published this version today."
exit 0
fi
echo "Would have published."
# disable publishing for now