Skip to content

Commit

Permalink
change Build.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TitleHHHH authored and TitleHHHH committed Nov 25, 2023
1 parent 5317e52 commit 7aadc9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Build : NukeBuild
static AbsolutePath ArtifactsDirectory => RootDirectory / ".artifacts";

static readonly string PackageContentType = "application/octet-stream";
static string ChangeLogFile => RootDirectory / "CHANGELOG.md";
//static string ChangeLogFile => RootDirectory / "CHANGELOG.md";

[Parameter]

Expand Down Expand Up @@ -284,9 +284,9 @@ from framework in project.GetTargetFrameworks()
var (owner, name) = (GitRepository.GetGitHubOwner(), GitRepository.GetGitHubName());

var releaseTag = MinVer.Version;
var changeLogSectionEntries = ChangelogTasks.ExtractChangelogSectionNotes(ChangeLogFile);
var latestChangeLog = changeLogSectionEntries
.Aggregate((c, n) => c + Environment.NewLine + n);
// var changeLogSectionEntries = ChangelogTasks.ExtractChangelogSectionNotes(ChangeLogFile);
//var latestChangeLog = changeLogSectionEntries
// .Aggregate((c, n) => c + Environment.NewLine + n);

var newRelease = new NewRelease(releaseTag)
{
Expand Down

0 comments on commit 7aadc9c

Please sign in to comment.