Last active
September 11, 2020 12:49
-
-
Save grenade/35ae79c16075a59b534ae28c32eb1469 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#while true; do if [[ "$(hg pull --rebase https://hg.mozilla.org/mozilla-central)" != *"no changes found"* ]]; then if [ $? -eq 0 ]; then hg push try -f; else echo "manual merge required"; exit; fi; else echo "no changes found"; fi; sleep 600; done | |
while true; do | |
if [[ "$(hg pull --rebase https://hg.mozilla.org/mozilla-central)" != *"no changes found"* ]]; then | |
if [ $? -eq 0 ]; then | |
hg push try -f | |
else | |
echo "manual merge required" | |
exit | |
fi | |
else | |
echo "no changes found" | |
fi | |
sleep 600 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while sleep 1200; do ci/gcloud-init.sh; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment