From 0fd43b6dc2d654213266fa4a7c17e2e37ed74d24 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sun, 2 Oct 2022 18:19:41 +0100 Subject: [PATCH] cargo update isn't needed --- tools/src/release.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tools/src/release.rs b/tools/src/release.rs index f8671db4..30ae3d2e 100644 --- a/tools/src/release.rs +++ b/tools/src/release.rs @@ -50,25 +50,6 @@ pub fn release(matches: &clap::ArgMatches) -> Result<(), Error> { update_to_version(&root_directory, toml_file, version)?; } - for toml_file in project_toml_files - .iter() - .chain(std::iter::once(&agb_cargo_toml)) - { - let directory_name = toml_file.parent().unwrap(); - - println!( - "Running cargo update in {}", - directory_name.to_string_lossy() - ); - - assert!(Command::new("cargo") - .arg("update") - .current_dir(directory_name) - .status() - .map_err(|_| Error::CargoUpdateFailed)? - .success()); - } - assert!(Command::new("just") .arg("ci") .current_dir(&root_directory)