Skip to content

Commit

Permalink
Avoid duplicating .tar.gz suffix on stripped builds (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Jul 25, 2024
1 parent 7985287 commit a154d5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit a154d5c

Please sign in to comment.