From 87bcfec9186a754a8d875dd75a03f76c12db8a94 Mon Sep 17 00:00:00 2001 From: Kalvin Chau Date: Wed, 5 Mar 2025 16:27:53 -0800 Subject: [PATCH] ci: use cargo update --workspace to ensure Cargo.lock is updated --- Justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Justfile b/Justfile index de221bc44538..63c9382d0c8a 100644 --- a/Justfile +++ b/Justfile @@ -193,6 +193,9 @@ release version: ensure-main @cd ui/desktop && npm version {{ version }} --no-git-tag-version --allow-same-version + # see --workspace flag https://doc.rust-lang.org/cargo/commands/cargo-update.html + # used to update Cargo.lock after we've bumped versions in Cargo.toml + @cargo update --workspace @git add Cargo.toml Cargo.lock ui/desktop/package.json ui/desktop/package-lock.json @git commit --message "chore(release): release version {{ version }}"