Skip to content

Commit

Permalink
Merge pull request #71 from ricaun-io/develop
Browse files Browse the repository at this point in the history
Version 1.8.0
  • Loading branch information
ricaun authored Apr 1, 2024
2 parents ba0ed4e + d73741d commit 09ee241
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>.</NukeRootDirectory>
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.8.0] / 2023-03-11
### Updated
- Update `Nuke.Common` Version = `8.0.0`
- Force enable `EnableUnsafeBinaryFormatterSerialization` to support `net8.0`.

## [1.7.4] / 2023-02-08
### Features
- Update `GetInformationalVersion` to find `nupkg` files.
Expand Down Expand Up @@ -337,6 +342,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- First Release

[vNext]: ../../compare/1.0.0...HEAD
[1.8.0]: ../../compare/1.7.4...1.8.0
[1.7.4]: ../../compare/1.7.3...1.7.4
[1.7.3]: ../../compare/1.7.2...1.7.3
[1.7.2]: ../../compare/1.7.1...1.7.2
Expand Down
2 changes: 1 addition & 1 deletion ricaun.Nuke/Components/IHazTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void TestProjects(string testProjectName,
DotNetTasks.DotNetTest(_ => _
.SetProjectFile(testProject)
.SetConfiguration(configuration)
.SetVerbosity(DotNetVerbosity.Normal)
.SetVerbosity(DotNetVerbosity.normal)
.EnableNoBuild()
.SetCustomDotNetTestSettings(customDotNetTestSettings)
.When(testResults, _ => _
Expand Down
10 changes: 10 additions & 0 deletions ricaun.Nuke/Components/Module.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class Module
{
#pragma warning disable CA2255 // The 'ModuleInitializer' attribute should not be used in libraries
[System.Runtime.CompilerServices.ModuleInitializer]
#pragma warning restore CA2255 // The 'ModuleInitializer' attribute should not be used in libraries
internal static void Initialize()
{
System.AppContext.SetSwitch("System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization", true);
}
}
4 changes: 2 additions & 2 deletions ricaun.Nuke/ricaun.Nuke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<PropertyGroup>
<PackageId>ricaun.Nuke</PackageId>
<Version>1.7.4</Version>
<Version>1.8.0</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -71,7 +71,7 @@
<ItemGroup>
<PackageReference Include="GitVersion.CommandLine" Version="*" />
<PackageReference Include="NuGet.CommandLine" Version="*" />
<PackageReference Include="Nuke.Common" Version="7.0.6" />
<PackageReference Include="Nuke.Common" Version="8.0.0" />
</ItemGroup>

</Project>

0 comments on commit 09ee241

Please sign in to comment.