Skip to content

Commit

Permalink
Write MAJOR.MINOR manifest for stable channel only
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Oct 1, 2020
1 parent 2033eb1 commit a8fe654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/build-manifest/src/main.rs
Expand Up @@ -293,6 +293,8 @@ impl Builder {
self.write_channel_files(self.versions.channel(), &manifest);
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(".");
self.write_channel_files(&major_minor, &manifest);
}
Expand Down

0 comments on commit a8fe654

Please sign in to comment.