Skip to content

Instantly share code, notes, and snippets.

@grenade
Last active September 11, 2020 12:49
Show Gist options
  • Save grenade/35ae79c16075a59b534ae28c32eb1469 to your computer and use it in GitHub Desktop.
Save grenade/35ae79c16075a59b534ae28c32eb1469 to your computer and use it in GitHub Desktop.
#!/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
#!/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