Skip to content

Commit a3d6b99

Browse files
Merge pull request #1750 from compiler-errors/beta-manifest
Match new style beta manifests
2 parents e5196b3 + a9f3e0e commit a3d6b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/load.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ fn parse_published_artifact_tag(line: &str) -> Option<String> {
295295
if let Some(date) = date {
296296
if let Some(name) = name {
297297
// Create beta artifact in the form of beta-YYYY-MM-DD
298-
if name == "channel-rust-beta.toml" {
298+
if name.starts_with("channel-rust-") && name.ends_with("-beta.toml") {
299299
return Some(format!("beta-{date}"));
300300
} else if let Some(capture) = VERSION_REGEX.captures(name) {
301301
if let Some(version) = capture.get(1).map(|c| c.as_str()) {

0 commit comments

Comments
 (0)