From a154d5caeab4739fec3341c314a3789733c75ffe Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 25 Jul 2024 17:20:39 -0400 Subject: [PATCH] Avoid duplicating .tar.gz suffix on stripped builds (#293) --- src/release.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/release.rs b/src/release.rs index 911e7599..6c46d2e1 100644 --- a/src/release.rs +++ b/src/release.rs @@ -440,7 +440,6 @@ pub fn produce_install_only_stripped(tar_gz_path: &Path, llvm_dir: &Path) -> Res name_parts[parts_len - 2] = "install_only_stripped".to_string(); let install_only_name = name_parts.join("-"); - let install_only_name = format!("{install_only_name}.tar.gz"); let dest_path = tar_gz_path.with_file_name(install_only_name); std::fs::write(&dest_path, gz_data)?;