ci: pin rust lock version (#112)
This commit is contained in:
parent
2a00df0bc0
commit
5a3090b5e5
2 changed files with 5 additions and 5 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"hindsight-clients/typescript": {
|
||||
"name": "@vectorize-io/hindsight-client",
|
||||
"version": "0.1.16",
|
||||
"version": "0.2.1",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@hey-api/openapi-ts": "^0.88.0",
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
},
|
||||
"hindsight-control-plane": {
|
||||
"name": "@vectorize-io/hindsight-control-plane",
|
||||
"version": "0.1.16",
|
||||
"version": "0.2.1",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@radix-ui/react-alert-dialog": "^1.1.15",
|
||||
|
|
|
|||
|
|
@ -51,16 +51,16 @@ echo "=================================================="
|
|||
|
||||
RUST_CLIENT_DIR="$CLIENTS_DIR/rust"
|
||||
|
||||
# Clean old generated files
|
||||
# Clean old generated files (keep Cargo.lock for reproducible builds)
|
||||
echo "Cleaning old Rust generated code..."
|
||||
rm -rf "$RUST_CLIENT_DIR/target"
|
||||
rm -f "$RUST_CLIENT_DIR/Cargo.lock"
|
||||
|
||||
# Trigger regeneration by building
|
||||
# Use --locked to ensure reproducible builds from committed Cargo.lock
|
||||
echo "Regenerating Rust client (via build.rs)..."
|
||||
cd "$RUST_CLIENT_DIR"
|
||||
cargo clean
|
||||
cargo build --release
|
||||
cargo build --release --locked
|
||||
|
||||
echo "✓ Rust client generated at $RUST_CLIENT_DIR"
|
||||
echo ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue