Skip to content

Commit

Permalink
[ci skip] // Force CHANGELOG.md in case it skipped the mind
Browse files Browse the repository at this point in the history
  • Loading branch information
eaba committed Feb 4, 2023
1 parent d671659 commit 3849218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ partial class Build : NukeBuild
{
var branchName = GitRepository.Branch;

if (branchName.Equals("main", StringComparison.OrdinalIgnoreCase)
/*if (branchName.Equals("main", StringComparison.OrdinalIgnoreCase)
&& !GitVersion.MajorMinorPatch.Equals(LatestVersion.Version.ToString()))
{
// Force CHANGELOG.md in case it skipped the mind
Assert.Fail($"CHANGELOG.md needs to be update for final release. Current version: '{LatestVersion.Version}'. Next version: {GitVersion.MajorMinorPatch}");
}
}*/
var releaseNotes = branchName.Equals("main", StringComparison.OrdinalIgnoreCase)
? GetNuGetReleaseNotes(ChangelogFile, GitRepository)
: ParseReleaseNote();
Expand Down

0 comments on commit 3849218

Please sign in to comment.