mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
c26bb83ec2
@ -52,16 +52,11 @@ git config user.email "chris@ethereum.org"
|
|||||||
git checkout -B gh-pages origin/gh-pages
|
git checkout -B gh-pages origin/gh-pages
|
||||||
git clean -f -d -x
|
git clean -f -d -x
|
||||||
# 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.
|
||||||
set -v
|
if ls ./bin/soljson-"$VER-$DATE"-*.js || ls ./bin/soljson-*-"$COMMIT.js"
|
||||||
pwd
|
then
|
||||||
ls
|
echo "Not publishing, we already published this version today."
|
||||||
ls ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
|
exit 0
|
||||||
|
fi
|
||||||
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
|
|
||||||
|
|
||||||
echo "Would have published."
|
echo "Would have published."
|
||||||
# disable publishing for now
|
# disable publishing for now
|
||||||
|
Loading…
Reference in New Issue
Block a user