diff --git a/source/Nuke.Common/ChangeLog/ReleaseNotes.cs b/source/Nuke.Common/ChangeLog/ReleaseNotes.cs index be5b2feff..56e9de375 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).