diff --git a/build.cake b/build.cake index 6e0c49e..3a6f9bc 100644 --- a/build.cake +++ b/build.cake @@ -1,12 +1,11 @@ -#load "tools/settingsUtils.cake" /////////////////////////////////////////////////////////////////////////////// // Directives /////////////////////////////////////////////////////////////////////////////// #l "tools/versionUtils.cake" #l "tools/settingsUtils.cake" -#tool "nuget:?package=NUnit.ConsoleRunner&version=3.9.0" -#addin "nuget:?package=Cake.Incubator&version=5.0.1" +#addin "nuget:?package=Cake.Incubator&version=5.1.0" +#tool "nuget:?package=NUnit.ConsoleRunner&version=3.10.0" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS diff --git a/build.version.json b/build.version.json index d539b47..b12b444 100644 --- a/build.version.json +++ b/build.version.json @@ -1 +1 @@ -{"Major":1,"Minor":1,"Build":10,"PreRelease":1,"ReleaseNotes":["Added support for .NET Core"],"Semantic":null,"Milestone":null,"CakeVersion":"0.33.0.0","IsPreRelease":true} \ No newline at end of file +{"Major":1,"Minor":1,"Build":10,"PreRelease":1,"ReleaseNotes":[],"Semantic":null,"Milestone":null,"CakeVersion":"0.33.0.0","IsPreRelease":true} \ No newline at end of file diff --git a/tests/Invisionware.Collections.Tests/Invisionware.Collections.Tests.csproj b/tests/Invisionware.Collections.Tests/Invisionware.Collections.Tests.csproj index cfb9df6..7dd5bcb 100644 --- a/tests/Invisionware.Collections.Tests/Invisionware.Collections.Tests.csproj +++ b/tests/Invisionware.Collections.Tests/Invisionware.Collections.Tests.csproj @@ -1,21 +1,22 @@ - - netcoreapp2.1 + + net472 - false - + false + true + - - - - - - - + + + + + + + - - - + + + \ No newline at end of file diff --git a/tools/settingsUtils.cake b/tools/settingsUtils.cake index 3243176..d227c66 100644 --- a/tools/settingsUtils.cake +++ b/tools/settingsUtils.cake @@ -1,5 +1,5 @@ -#addin "nuget:?package=Cake.Json&version=3.0.1" -#addin "nuget:?package=Newtonsoft.Json&version=12.0.2" +#addin "nuget:?package=Cake.Json&version=4.0.0" +#addin "nuget:?package=Newtonsoft.Json&version=11.0.2" using Newtonsoft.Json; diff --git a/tools/versionUtils.cake b/tools/versionUtils.cake index 0f8c5c8..906db68 100644 --- a/tools/versionUtils.cake +++ b/tools/versionUtils.cake @@ -1,7 +1,7 @@ -#addin "nuget:?package=Cake.Json&version=3.0.1" -#addin "nuget:?package=Cake.FileHelpers&version=3.2.0" -#addin "nuget:?package=Newtonsoft.Json&version=12.0.2" -#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0" +#addin "nuget:?package=Cake.Json&version=4.0.0" +#addin "nuget:?package=Newtonsoft.Json&version=11.0.2" +#addin "nuget:?package=Cake.FileHelpers&version=3.2.1" +#tool "nuget:?package=GitVersion.CommandLine&version=5.1.3" using Newtonsoft.Json; @@ -172,7 +172,7 @@ public class VersionUtils { context.Information("Updating Version File {0}", settings.Version.VersionFile); - context.SerializeJsonToFile(settings.Version.VersionFile, verInfo); + context.SerializeJsonToPrettyFile(settings.Version.VersionFile, verInfo); } if (!string.IsNullOrEmpty(settings.Version.AssemblyInfoFile) && context.FileExists(settings.Version.AssemblyInfoFile)) @@ -301,6 +301,6 @@ public class VersionInfo context.Information("\tMilestone: {0}", Milestone); context.Information("\tCake Version: {0}", CakeVersion); - if (ReleaseNotes != null) context.Information("\tRelease Notes: {0}", ReleaseNotes); + if (ReleaseNotes != null && ReleaseNotes.Length > 0) context.Information("\tRelease Notes: {0}", ReleaseNotes); } } \ No newline at end of file