mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2026-01-03 16:01:31 -08:00
Repo update failures should not fail the whole build
This commit is contained in:
parent
d52a22e724
commit
a54c109ff9
1 changed files with 2 additions and 1 deletions
3
update
3
update
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
for repo in repos/*; do
|
for repo in repos/*; do
|
||||||
$repo/update && (git diff --exit-code $repo > /dev/null || git commit -m "Updated $repo" -- $repo)
|
$repo/update && (git diff --exit-code $repo > /dev/null || git commit -m "Updated $repo" -- $repo)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue