From 26c2c85fe4c663e4e2ac4f30bd492315bd1a58b2 Mon Sep 17 00:00:00 2001 From: Kalvin C Date: Thu, 6 Mar 2025 12:53:03 -0800 Subject: [PATCH] ci: use cargo update --workspace to ensure Cargo.lock is updated (#1539) --- Justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Justfile b/Justfile index de221bc4..63c9382d 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 }}"