diff --git a/justfile b/justfile index 20648f4747..faaba7dece 100644 --- a/justfile +++ b/justfile @@ -30,7 +30,6 @@ doc: cargo doc --no-deps --document-private-items release version: - chmod +x scripts/release.sh scripts/release.sh {{version}} alias b := build diff --git a/scripts/release.sh b/scripts/release.sh old mode 100644 new mode 100755 index 89d51d0127..1e31c0bc56 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -56,15 +56,9 @@ for crate in "${CRATES[@]}"; do do_sed "$file" "s/pathfinder-serde = { version = \"[^\"]*\"/pathfinder-serde = { version = \"${VERSION}\"/" done -# Update Cargo.lock -cargo_update_args=() -for crate in "${CRATES[@]}"; do - cargo_update_args+=(-p "pathfinder-${crate}") -done -cargo update "${cargo_update_args[@]}" - -# Verify everything still builds -cargo check --workspace +# Update Cargo.lock and verify everything still builds +cargo check --workspace --all-targets +cargo check --workspace --all-targets --all-features # Create and checkout new release branch git checkout -b release/v${VERSION}