Skip to content

Commit 8132d69

Browse files
committed
Fix upload destination for Rustup archives
1 parent 694e3a4 commit 8132d69

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rustup.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@ impl Context {
189189
.arg("--recursive")
190190
.arg("--only-show-errors")
191191
.arg(format!("{}/", dist_dir.display()))
192-
.arg(&self.s3_artifacts_url(target_path)))
192+
.arg(format!(
193+
"s3://{}/{}/{}",
194+
self.config.upload_bucket, self.config.upload_dir, target_path
195+
)))
193196
}
194197

195198
fn update_rustup_release(&mut self, version: &str) -> Result<(), Error> {

0 commit comments

Comments
 (0)