Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add a script to bump all fuel maintained dependencies #6684

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions update_fuel_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

# Run this script to only bump fuel maintained dependencies.
#
# We currently pin dependencies using "X.Y" in the root Cargo.toml file.
# Since `cargo build` does not check for minor version bumps at each invocation
# it is hard to move between new versions, especially for minor bumps which
# happens much often. Use this script to keep every fuel owned dependency up to
# date.

# Define the list of fuel maintained crates
crates=(
"fuel-abi-types"
"fuel-core-client"
"fuel-core-types"
"fuels"
"fuels-core"
"fuels-accounts"
"fuel-asm"
"fuel-crypto"
"fuel-types"
"fuel-tx"
"fuel-vm"
"forc-wallet"
)

# Run `cargo update -p <crate_name>` for each fuel owned crate.
for crate in "${crates[@]}"; do
echo "Updating package: $crate"
cargo update -p "$crate"
done
kayagokalp marked this conversation as resolved.
Show resolved Hide resolved
Loading