diff --git a/source/Nuke.Common/ChangeLog/ReleaseNotes.cs b/source/Nuke.Common/ChangeLog/ReleaseNotes.cs index 87d6039f9..4f93b5a83 100644 --- a/source/Nuke.Common/ChangeLog/ReleaseNotes.cs +++ b/source/Nuke.Common/ChangeLog/ReleaseNotes.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; +using System.Linq; using JetBrains.Annotations; using NuGet.Versioning; @@ -15,7 +16,7 @@ public class ReleaseNotes /// /// Gets a value indicating whether this release notes section contains notes. /// - public bool IsEmpty => Notes.Count == 0; + public bool IsEmpty => Notes.All(string.IsNullOrWhiteSpace); /// /// Gets a value indicating whether this release notes section is unreleased (vNext).