Skip to content

Commit

Permalink
exit early if a check fails after upgrading the crate's deps
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr committed May 26, 2023
1 parent 4ba1edc commit 0a1ed4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for folder in pgrx-examples/*; do
cargo update
cargo upgrade --incompatible --exclude syn
cargo generate-lockfile
cargo check
cargo check || exit $?
cd -
fi
done

0 comments on commit 0a1ed4f

Please sign in to comment.