Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write manifest for MAJOR.MINOR channel to enable rustup convenience #76107

Merged
merged 2 commits into from
Oct 3, 2020
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
4 changes: 4 additions & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ impl Builder {
if self.versions.channel() != rust_version {
self.write_channel_files(&rust_version, &manifest);
}
if self.versions.channel() == "stable" {
let major_minor = rust_version.split('.').take(2).collect::<Vec<_>>().join(".");
carols10cents marked this conversation as resolved.
Show resolved Hide resolved
self.write_channel_files(&major_minor, &manifest);
}
}

/// If a tool does not pass its tests, don't ship it.
Expand Down