mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Debug publishing.
This commit is contained in:
parent
7c15fa661a
commit
ded6c67424
@ -52,11 +52,21 @@ 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
|
||||||
|
pwd
|
||||||
|
ls
|
||||||
|
ls ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
|
||||||
|
|
||||||
for f in ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
|
for f in ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js"
|
||||||
do
|
do
|
||||||
|
ls "$f"
|
||||||
[ -f "$f" ] && echo "Not publishing, we already published this version today." && exit 0
|
[ -f "$f" ] && echo "Not publishing, we already published this version today." && exit 0
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Would have published."
|
||||||
|
# disable publishing for now
|
||||||
|
exit 0
|
||||||
|
|
||||||
# This file is assumed to be the product of the build_emscripten.sh script.
|
# This file is assumed to be the product of the build_emscripten.sh script.
|
||||||
cp ../soljson.js ./bin/"soljson-$VER-$DATE-$COMMIT.js"
|
cp ../soljson.js ./bin/"soljson-$VER-$DATE-$COMMIT.js"
|
||||||
./update-index.sh
|
./update-index.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user