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

Commit

Permalink
Merge pull request #61 from oli-obk/patch-1
Browse files Browse the repository at this point in the history
Block nightlies on clippy
  • Loading branch information
alexcrichton authored Jul 5, 2018
2 parents 1d45397 + c4351e5 commit 0110e36
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions promote-release/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ upload-addr = \"{}/{}\"
prev_version == current_version
}

/// An emergency fix for the current situation where the RLS isn't available
/// too often. Don't produce nightlies if a missing component happens.
/// An emergency fix for the current situation where the RLS or clippy often
/// aren't available. Don't produce nightlies if a component is missing.
///
/// Note that we already shouldn't merge PRs in rust-lang/rust that don't
/// build the rls/rustfmt
/// Note that we already don't merge PRs in rust-lang/rust that don't
/// build cargo
fn assert_all_components_present(&self) {
if self.release != "nightly" {
return
Expand All @@ -274,6 +274,7 @@ upload-addr = \"{}/{}\"
assert!(components.iter().any(|s| s.starts_with("rustc-")));
assert!(components.iter().any(|s| s.starts_with("rust-std-")));
assert!(components.iter().any(|s| s.starts_with("cargo-")));
assert!(components.iter().any(|s| s.starts_with("clippy-")));
}

fn download_artifacts(&mut self, rev: &str) {
Expand Down

0 comments on commit 0110e36

Please sign in to comment.