Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.

Commit 213dc2b

Browse files
committed
add some comments
1 parent c7883f5 commit 213dc2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

promote-release/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl Context {
138138
self.assert_all_components_present();
139139

140140
// Ok we've now determined that a release needs to be done. Let's
141-
// configure rust, sign the artifacts we just downloaded, and upload the
141+
// configure rust, build+sign a manifest for the artifacts we just downloaded, and upload the
142142
// signatures to the CI bucket.
143143
self.configure_rust(rev);
144144
self.sign_artifacts();
@@ -340,8 +340,10 @@ upload-addr = \"{}/{}\"
340340
}
341341
}
342342

343+
/// Create manifest and sign it.
343344
fn sign_artifacts(&mut self) {
344345
let build = self.build_dir();
346+
// This calls `src/tools/build-manifest` from the rustc repo.
345347
run(Command::new(self.rust_dir().join("x.py"))
346348
.current_dir(&build)
347349
.arg("dist")

0 commit comments

Comments
 (0)