Skip to content

Commit f0911e4

Browse files
committed
Merge branch 'release/0.20.0'
* release/0.20.0: Bump NGitLab from 7.6.0 to 8.3.0 in /src Bump Scriban from 5.12.1 to 6.1.0 in /src Bump GraphQL.Client from 6.0.1 to 6.1.0 in /src Bump GraphQL.Client.Serializer.SystemTextJson in /src Bump Microsoft.Extensions.DependencyInjection in /src Bump the analyzers group across 1 directory with 2 updates (#495) Add docs for new configuration option (#495) Fix tests as a result of changes (#495) Make use of new empty Scriban template (#495) Allow milestones without issues (build) Further prevent running documentation (build) Disable Wyam documentation (#669) Remove support for .NET 6.0 and 7.0 (#690) Add support for .NET 8.0 and 9.0 bring back the TargetFrameworks as it's required by Cake.Receipe move common project properties to Directory.Build.props
2 parents eb72dd1 + 270b5fd commit f0911e4

27 files changed

+146
-77
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
3131
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
3232
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
33-
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }}
34-
WYAM_DEPLOY_BRANCH: gh-pages
35-
WYAM_DEPLOY_REMOTE: https://github.com/GitTools/GitReleaseManager
3633
CODECOV_REPO_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
3734
GPR_USER: gittools-bot
3835
GPR_PASSWORD: ${{ secrets.NUGET_GITHUB_TOKEN }}
@@ -43,15 +40,15 @@ jobs:
4340
- name: Fetch all tags and branches
4441
run: git fetch --prune --unshallow
4542

46-
- name: Install .NET SDK 2.1.x, 3.1.x, 5.0.x, 6.0.x, and 7.0.x
43+
- name: Install .NET SDK 2.1.x, 3.1.x, 5.0.x, 8.0.x, and 9.0.x
4744
uses: actions/setup-dotnet@v4
4845
with:
4946
dotnet-version: |
5047
2.1.x
5148
3.1.x
5249
5.0.x
53-
6.0.x
54-
7.0.x
50+
8.0.x
51+
9.0.x
5552
5653
- name: Cache Tools
5754
uses: actions/cache@v4

docs/input/docs/configuration/default-configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ create:
2121
sha-section-line-format: "- `{1}\t{0}`"
2222
allow-update-to-published: false
2323
include-contributors: false
24+
allow-milestone-without-issues: false
2425
export:
2526
include-created-date-in-title: false
2627
created-date-string-format: ''
@@ -142,6 +143,11 @@ control the look and feel of the generated release notes.
142143
in the release notes. A contributor is defined as someone who opened an issue
143144
or submitted a PR. **NOTE:** This configuration option was added in version
144145
0.19.0 of GitReleaseManager.
146+
- **allow-milestone-without-issues**
147+
- A boolean value which indicates whether an empty release will be created, when
148+
no issues are found to be associated with a milestone. The contents of the
149+
empty release can be controlled via the associated Scriban template.
150+
**NOTE:** This configuration option was added in version 0.20.0 of GitReleaseManager.
145151

146152
See the [example create configuration section](create-configuration) to see an
147153
example of how a footer can be configured.

nuspec/chocolatey/GitReleaseManager.Portable.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<tags>github release notes create export</tags>
2020
</metadata>
2121
<files>
22-
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net6.0\*.exe" target="tools" />
23-
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net6.0\*.pdb" target="tools" />
22+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net8.0\*.exe" target="tools" />
23+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net8.0\*.pdb" target="tools" />
2424
<file src="chocolateyInstall.ps1" target="tools"/>
2525
<file src="chocolateyUninstall.ps1" target="tools"/>
2626
<file src="VERIFICATION.TXT" />

nuspec/nuget/GitReleaseManager.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<tags>github release notes create export</tags>
2121
</metadata>
2222
<files>
23-
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net6.0\*.exe" target="tools" />
24-
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net6.0\*.xml" target="tools" />
25-
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net6.0\*.pdb" target="tools" />
23+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net8.0\*.exe" target="tools" />
24+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net8.0\*.xml" target="tools" />
25+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\net8.0\*.pdb" target="tools" />
2626
<file src="..\..\icons\package_icon.png" target="" />
2727
</files>
2828
</package>

recipe.cake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ BuildParameters.SetParameters(context: Context,
1919
twitterMessage: standardNotificationMessage,
2020
preferredBuildProviderType: BuildProviderType.GitHubActions,
2121
gitterMessage: "@/all " + standardNotificationMessage,
22-
shouldRunCodecov: false);
22+
shouldRunCodecov: false,
23+
shouldGenerateDocumentation: false);
2324

2425
BuildParameters.PackageSources.Add(new PackageSourceData(Context, "GPR", "https://nuget.pkg.github.com/GitTools/index.json", FeedType.NuGet, false));
2526

src/Directory.Build.props

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
<Project>
22
<PropertyGroup>
3+
<LangVersion>8.0</LangVersion>
4+
5+
<Authors>GitTools Contributors</Authors>
6+
<PackageProjectUrl>https://github.com/GitTools/GitReleaseManager</PackageProjectUrl>
7+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
8+
<PackageTags>github release notes create export</PackageTags>
9+
<Copyright>Copyright (c) 2015 - Present - GitTools Contributors</Copyright>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11+
<PackageIcon>package_icon.png</PackageIcon>
12+
<PackageReleaseNotes>https://github.com/GitTools/GitReleaseManager/releases</PackageReleaseNotes>
13+
<RepositoryType>git</RepositoryType>
14+
<RepositoryUrl>https://github.com/GitTools/GitReleaseManager.git</RepositoryUrl>
15+
316
<DebugType>pdbonly</DebugType>
417
<GenerateDocumentationFile>true</GenerateDocumentationFile>
5-
<NoWarn>CS1591</NoWarn>
18+
<NoWarn>$(NoWarn);CS1591;CA1707;Serilog004</NoWarn>
619
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
720
</PropertyGroup>
821

src/Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
1111
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
1212
<PackageVersion Include="Destructurama.Attributed" Version="5.1.0" />
13-
<PackageVersion Include="GraphQL.Client" Version="6.0.1" />
14-
<PackageVersion Include="GraphQL.Client.Serializer.SystemTextJson" Version="6.0.1" />
13+
<PackageVersion Include="GraphQL.Client" Version="6.1.0" />
14+
<PackageVersion Include="GraphQL.Client.Serializer.SystemTextJson" Version="6.1.0" />
1515
<PackageVersion Include="IDisposableAnalyzers" Version="4.0.8" />
1616
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
17-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.2" />
17+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.3" />
1818
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
1919
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
20-
<PackageVersion Include="NGitLab" Version="7.6.0" />
20+
<PackageVersion Include="NGitLab" Version="8.3.0" />
2121
<PackageVersion Include="NSubstitute" Version="5.3.0" />
2222
<PackageVersion Include="NUnit" Version="4.3.2" />
23-
<PackageVersion Include="NUnit.Analyzers" Version="4.6.0" />
23+
<PackageVersion Include="NUnit.Analyzers" Version="4.7.0" />
2424
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
2525
<PackageVersion Include="Octokit" Version="14.0.0" />
26-
<PackageVersion Include="Roslynator.Analyzers" Version="4.13.0" />
27-
<PackageVersion Include="Scriban" Version="5.12.1" />
26+
<PackageVersion Include="Roslynator.Analyzers" Version="4.13.1" />
27+
<PackageVersion Include="Scriban" Version="6.1.0" />
2828
<PackageVersion Include="Serilog" Version="4.2.0" />
2929
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
3030
<PackageVersion Include="Serilog.Sinks.Debug" Version="3.0.0" />

src/GitReleaseManager.Cli/GitReleaseManager.Cli.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<LangVersion>8.0</LangVersion>
43
<OutputType>Exe</OutputType>
54
<AssemblyName>GitReleaseManager</AssemblyName>
6-
<TargetFrameworks>net6.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
76
<PublishSingleFile>true</PublishSingleFile>
87
<SelfContained>true</SelfContained>
98
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
109
<Title>GitReleaseManager.Cli</Title>
1110
<Description>Create release notes in markdown given a milestone</Description>
1211
<IsPackable>false</IsPackable>
13-
<NoWarn>$(NoWarn);CA1707;</NoWarn>
1412
</PropertyGroup>
1513
<ItemGroup>
1614
<ProjectReference Include="..\GitReleaseManager.Core\GitReleaseManager.Core.csproj" />

src/GitReleaseManager.Core.Tests/Commands/ExportCommandTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public void Setup()
2727
}
2828

2929
[Test]
30+
[NonParallelizable]
3031
public async Task Should_Execute_Command()
3132
{
3233
var options = new ExportSubOptions

src/GitReleaseManager.Core.Tests/GitReleaseManager.Core.Tests.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<LangVersion>9.0</LangVersion>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
54
<Title>GitReleaseManager.Core.Tests</Title>
65
<Description>Test Project for GitReleaseManager.Core</Description>
7-
<NoWarn>$(NoWarn);CA1707;Serilog004;</NoWarn>
86
</PropertyGroup>
97
<ItemGroup>
108
<Compile Include="..\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />

0 commit comments

Comments
 (0)