Skip to content

Commit

Permalink
Trimmed changelog for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Nov 13, 2021
1 parent 7e402b5 commit 5f3be14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/Build.GitHubRelease.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ string CreateChangelog(string version)
if (!match.Success) continue;
if (match.Value.Equals(version))
{
logBuilder.AppendLine(line);
var truncatedLine = Regex.Replace(line, $"^.*{version} ?", string.Empty);
logBuilder.AppendLine(truncatedLine);
}
}

Expand Down

0 comments on commit 5f3be14

Please sign in to comment.