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

Commit af8e6b6

Browse files
committed
add some comments
1 parent c7883f5 commit af8e6b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

promote-release/src/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ 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
142-
// signatures to the CI bucket.
141+
// configure rust, build+sign a manifest for the artifacts we just downloaded, and upload the
142+
// signed manifest to the CI bucket.
143143
self.configure_rust(rev);
144144
self.sign_artifacts();
145145
self.upload_signatures(&rev);
@@ -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)