Skip to content

Commit b0a1daf

Browse files
authored
Fix bug where the decompressor was not appending rc1 to filename (dotnet#2596)
* Fix bug where the decompressor was not appending rc1 * Update Data.cs * Update Data.cs * Update Data.cs
1 parent 5f63e8d commit b0a1daf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/ResultsComparer/Data.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ private static string GetMoniker(string key)
136136
return "nativeaot6.0";
137137
if (key.Contains("net7.0-preview"))
138138
return "net7.0-preview" + key[key.IndexOf("net7.0-preview") + "net7.0-preview".Length];
139+
if (key.Contains("net7.0-rc"))
140+
return "net7.0-rc" + key[key.IndexOf("net7.0-rc") + "net7.0-rc".Length];
139141
if (key.Contains("nativeaot7.0-preview"))
140142
return "nativeaot7.0-preview" + key[key.IndexOf("nativeaot7.0-preview") + "nativeaot7.0-preview".Length];
141143

@@ -167,4 +169,4 @@ private static string GetSimplifiedProcessorName(string processorName)
167169
return processorName.Replace(" ", "");
168170
}
169171
}
170-
}
172+
}

0 commit comments

Comments
 (0)