diff options
| author | Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com> | 2020-10-01 12:06:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-01 12:06:45 -0400 |
| commit | a8fe6544482593073118dbdc3b25c2fb1fa7506c (patch) | |
| tree | 8297ce819e1853f1b38abb716cad9166c1d752b4 | |
| parent | 2033eb1495b4a0386a0ab08815769477baf20c89 (diff) | |
| download | rust-a8fe6544482593073118dbdc3b25c2fb1fa7506c.tar.gz rust-a8fe6544482593073118dbdc3b25c2fb1fa7506c.zip | |
Write MAJOR.MINOR manifest for stable channel only
| -rw-r--r-- | src/tools/build-manifest/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 51708336600..e1dc9111bf3 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -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); } |
