We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2494b commit aeac450Copy full SHA for aeac450
Sdk/Tasks/DmappCreation.cs
@@ -306,8 +306,8 @@ private static string CleanDmappVersion(string version)
306
return DMAppVersion.FromProtocolVersion(version).ToString();
307
}
308
309
- // Check if version matches a.b.c-text
310
- if (Regex.IsMatch(version, @"^\d+\.\d+\.\d+-\w+$"))
+ // Check if version matches a.b.c-text or a.b.c.d-text
+ if (Regex.IsMatch(version, @"^\d+\.\d+\.\d+-\w+$") || Regex.IsMatch(version, @"^\d+\.\d+\.\d+\.\d+-\w+$"))
311
{
312
return DMAppVersion.FromPreRelease(version).ToString();
313
0 commit comments