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

Block nightlies on clippy #61

Merged
merged 1 commit into from
Jul 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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