Updated CI/CD
This commit is contained in:
Родитель
b755de0b94
Коммит
adba2771b8
|
@ -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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче