From adba2771b8d64fa4648a954665490759433b23ac Mon Sep 17 00:00:00 2001 From: Florian Rappl Date: Sun, 25 Feb 2024 15:54:29 +0100 Subject: [PATCH] Updated CI/CD --- nuke/Build.cs | 4 ++-- nuke/ReleaseNotesParser.cs | 10 ---------- src/AngleSharp.Css.nuspec | 1 + 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/nuke/Build.cs b/nuke/Build.cs index b08f6bd..620b5af 100644 --- a/nuke/Build.cs +++ b/nuke/Build.cs @@ -89,11 +89,11 @@ class Build : NukeBuild if (ScheduledTargets.Contains(Default)) { - Version = $"{Version}-ci-{buildNumber}"; + Version = $"{Version}-ci.buildNumber}"; } else if (ScheduledTargets.Contains(PrePublish)) { - Version = $"{Version}-alpha-{buildNumber}"; + Version = $"{Version}-beta.{buildNumber}"; } } diff --git a/nuke/ReleaseNotesParser.cs b/nuke/ReleaseNotesParser.cs index 4b00a07..d911c90 100644 --- a/nuke/ReleaseNotesParser.cs +++ b/nuke/ReleaseNotesParser.cs @@ -17,16 +17,6 @@ using Microsoft.Build.Exceptions; /// public sealed class ReleaseNotesParser { - private readonly Regex _versionRegex; - - /// - /// Initializes a new instance of the class. - /// - public ReleaseNotesParser() - { - _versionRegex = new Regex(@"(?\d+(\s*\.\s*\d+){0,3})(?-[a-z][0-9a-z-]*)?"); - } - /// /// Parses all release notes. /// diff --git a/src/AngleSharp.Css.nuspec b/src/AngleSharp.Css.nuspec index dbab86a..be9192e 100644 --- a/src/AngleSharp.Css.nuspec +++ b/src/AngleSharp.Css.nuspec @@ -6,6 +6,7 @@ AngleSharp Florian Rappl MIT + https://anglesharp.github.io logo.png README.md