mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Write MAJOR.MINOR manifest for stable channel only
This commit is contained in:
parent
2033eb1495
commit
a8fe654448
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user