Skip to content

Commit

Permalink
Fix cargo upgrade to not break by using --incompatible
Browse files Browse the repository at this point in the history
While `--incompatible` allows jumping to the next major version. it also means
it doing so breaks the build then the auto PR will break every week. Remove that
and we can see there are pending new major version numbers via `cargo outdated`.
  • Loading branch information
willbush committed Dec 3, 2024
1 parent 700a0b2 commit 6003015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ let
echo ""
echo "### cargo upgrade"
printf "\n\`\`\`\n"
# --incompatible allows jumping to the next major version.
cargo upgrade --incompatible --manifest-path "$1/Cargo.toml" 2>&1
cargo upgrade --manifest-path "$1/Cargo.toml" 2>&1
printf "\n\`\`\`\n"
echo "### cargo update"
Expand Down

0 comments on commit 6003015

Please sign in to comment.