Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 527a465

Browse files
+ Add GitHub release notes integration #8
1 parent 8103ca7 commit 527a465

File tree

4 files changed

+455
-5
lines changed

4 files changed

+455
-5
lines changed

Build/Build.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<None Include="build.cake" />
4646
<None Include="build.json" />
4747
<None Include="build.ps1" />
48+
<None Include="github-release-notes.chtml" />
4849
</ItemGroup>
4950
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5051
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

Build/build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"customNuspecs": [
2323
{
2424
"Id": "SubPointSolutions.CakeBuildTools",
25-
"Version": "0.1.0-beta4",
25+
"Version": "0.1.0-beta5",
2626
"Dependencies": [ ],
2727
"LicenseUrl": "https://github.com/SubPointSolutions/CakeBuildTools/licence",
2828
"ProjectUrl": "https://github.com/SubPointSolutions/CakeBuildTools",

Build/github-release-notes.chtml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## What's new in @Model.ReleaseTitle @Model.ReleaseVersion, @Model.ReleaseMonthAndYear
2+
3+
@if(!System.String.IsNullOrEmpty(Model.AssemblyFileVersion))
4+
{
5+
<text>
6+
AssemblyFileVersion: @Model.AssemblyFileVersion
7+
</text>
8+
}
9+
10+
@foreach(var releaseGroup in Model.ReleaseIssueGroups){
11+
12+
var items = releaseGroup.Issues;
13+
var label = releaseGroup.Label;
14+
var labelTitle = releaseGroup.LabelTitle;
15+
16+
if (items.Count > 0)
17+
{
18+
<text>
19+
### @labelTitle
20+
@foreach (var item in items)
21+
{
22+
<text>* <a href='@item.Url'>#@item.Number</a>, @item.Title</text>
23+
}
24+
</text>
25+
}
26+
}
27+
28+
### Feature requests, support and contributions
29+
This is an internal project of [SubPointSolutions](http://subpointsolutions.com), but you are welcome to use it as you wish. In case you have unexpected issues, feedback or keen to see new features, please open up a new issue directly at [GitHub issue tracker](https://github.com/@Model.CompanyName/@Model.ProjectName/issues).
30+
31+
* [GitHub issue tracker](https://github.com/@Model.CompanyName/@Model.ProjectName/issues)

0 commit comments

Comments
 (0)