This commit is contained in:
Florian Rappl 2024-02-25 15:54:29 +01:00
Родитель b755de0b94
Коммит adba2771b8
3 изменённых файлов: 3 добавлений и 12 удалений

Просмотреть файл

@ -89,11 +89,11 @@ class Build : NukeBuild
if (ScheduledTargets.Contains(Default)) if (ScheduledTargets.Contains(Default))
{ {
Version = $"{Version}-ci-{buildNumber}"; Version = $"{Version}-ci.buildNumber}";
} }
else if (ScheduledTargets.Contains(PrePublish)) else if (ScheduledTargets.Contains(PrePublish))
{ {
Version = $"{Version}-alpha-{buildNumber}"; Version = $"{Version}-beta.{buildNumber}";
} }
} }

Просмотреть файл

@ -17,16 +17,6 @@ using Microsoft.Build.Exceptions;
/// </remarks> /// </remarks>
public sealed class ReleaseNotesParser public sealed class ReleaseNotesParser
{ {
private readonly Regex _versionRegex;
/// <summary>
/// Initializes a new instance of the <see cref="ReleaseNotesParser"/> class.
/// </summary>
public ReleaseNotesParser()
{
_versionRegex = new Regex(@"(?<Version>\d+(\s*\.\s*\d+){0,3})(?<Release>-[a-z][0-9a-z-]*)?");
}
/// <summary> /// <summary>
/// Parses all release notes. /// Parses all release notes.
/// </summary> /// </summary>

Просмотреть файл

@ -6,6 +6,7 @@
<authors>AngleSharp</authors> <authors>AngleSharp</authors>
<owners>Florian Rappl</owners> <owners>Florian Rappl</owners>
<license type="expression">MIT</license> <license type="expression">MIT</license>
<repository type="git" url="https://github.com/AngleSharp/AngleSharp.Css" />
<projectUrl>https://anglesharp.github.io</projectUrl> <projectUrl>https://anglesharp.github.io</projectUrl>
<icon>logo.png</icon> <icon>logo.png</icon>
<readme>README.md</readme> <readme>README.md</readme>