Commit ccb7795f by Francisco Giordano

do not fail if there are no changes to commit

parent b75e0ebe
......@@ -12,5 +12,7 @@ COMMIT="$(git rev-parse --short HEAD)"
git add contracts
git checkout --orphan master
git reset --soft origin/master
git commit -m "Transpile $COMMIT"
git push origin master
if ! git diff --cached --quiet; then
git commit -m "Transpile $COMMIT"
git push origin master
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment