Prune deleted remote branches

This commit is contained in:
Calen Pennington
2013-01-14 12:40:17 -05:00
parent 0c00923a47
commit 19f79fa364
2 changed files with 4 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
set -e
set -x
git remote prune origin
# Reset the submodule, in case it changed
git submodule foreach 'git reset --hard HEAD'

View File

@@ -15,6 +15,8 @@ function github_mark_failed_on_exit {
trap '[ $? == "0" ] || github_status state:failure "failed"' EXIT
}
git remote prune origin
github_mark_failed_on_exit
github_status state:pending "is running"