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

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 14, 2019
1 parent c7883f5 commit 213dc2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion promote-release/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl Context {
self.assert_all_components_present();

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

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

0 comments on commit 213dc2b

Please sign in to comment.