Skip to content

Commit 5672d58

Browse files
committed
chore: bump go dependency cel.dev/expr
1 parent d81d032 commit 5672d58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/update-go-dependencies.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ cleanup() {
6565
update_dependency() {
6666
echo "# $DEPENDENCY"
6767

68-
go get -u "$DEPENDENCY"
68+
if ! go get -u "$DEPENDENCY"; then
69+
echo "[ERROR] \`go get -u $DEPENDENCY\` failed"
70+
cleanup
71+
return
72+
fi
6973
go mod verify
7074
if ! go mod tidy -v; then
7175
echo "[ERROR] \`go mod tidy\` failed"

0 commit comments

Comments
 (0)