Skip to content

Commit 0a1ed4f

Browse files
committed
exit early if a check fails after upgrading the crate's deps
1 parent 4ba1edc commit 0a1ed4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ for folder in pgrx-examples/*; do
2020
cargo update
2121
cargo upgrade --incompatible --exclude syn
2222
cargo generate-lockfile
23-
cargo check
23+
cargo check || exit $?
2424
cd -
2525
fi
2626
done

0 commit comments

Comments
 (0)