Skip to content

Commit

Permalink
Repo update failures should not fail the whole build
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Aug 14, 2019
1 parent d52a22e commit a54c109
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

for repo in repos/*; do
$repo/update && (git diff --exit-code $repo > /dev/null || git commit -m "Updated $repo" -- $repo)
done

exit 0

0 comments on commit a54c109

Please sign in to comment.