From 499c289129a79f8a13f83e4960200aee0edfeb38 Mon Sep 17 00:00:00 2001 From: Nick Josevski Date: Fri, 25 Oct 2024 12:07:16 +1100 Subject: [PATCH 1/2] updated to net8 --- build/Build.cs | 2 +- build/_build.csproj | 2 +- global.json | 2 +- .../Octopus.CoreParsers.Hcl.Tests.csproj | 2 +- source/Octopus.Core.Parsers.Hcl/Octopus.CoreParsers.Hcl.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 9917298..0590e59 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -29,7 +29,7 @@ class Build : NukeBuild readonly string BranchName; [Parameter("Whether to auto-detect the branch name - this is okay for a local build, but should not be used under CI.")] readonly bool AutoDetectBranch = IsLocalBuild; - [OctoVersion(UpdateBuildNumber = true, BranchParameter = nameof(BranchName), AutoDetectBranchParameter = nameof(AutoDetectBranch), Framework = "net6.0")] + [OctoVersion(UpdateBuildNumber = true, BranchParameter = nameof(BranchName), AutoDetectBranchParameter = nameof(AutoDetectBranch), Framework = "net8.0")] readonly OctoVersionInfo OctoVersionInfo; [Solution] readonly Solution Solution; diff --git a/build/_build.csproj b/build/_build.csproj index a3000f1..e1ddce4 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 CS0649;CS0169 .. diff --git a/global.json b/global.json index 6ecdd61..ba341c5 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "6.0.101", + "version": "8.0.401", "rollForward": "latestFeature" } } diff --git a/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj b/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj index 7b9c1e0..bdc5cde 100644 --- a/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj +++ b/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false diff --git a/source/Octopus.Core.Parsers.Hcl/Octopus.CoreParsers.Hcl.csproj b/source/Octopus.Core.Parsers.Hcl/Octopus.CoreParsers.Hcl.csproj index 75eb891..cbc5b56 100644 --- a/source/Octopus.Core.Parsers.Hcl/Octopus.CoreParsers.Hcl.csproj +++ b/source/Octopus.Core.Parsers.Hcl/Octopus.CoreParsers.Hcl.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 false Octopus.CoreParsers.Hcl Octopus.Core.Parsers.Hcl From 11215062af59667e943bf0895d64a17e20e9fc4f Mon Sep 17 00:00:00 2001 From: Nick Josevski Date: Thu, 5 Dec 2024 17:48:39 +1100 Subject: [PATCH 2/2] bump ver on more dependencies --- .../Octopus.CoreParsers.Hcl.Tests.csproj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj b/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj index bdc5cde..bcb2dd2 100644 --- a/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj +++ b/source/Octopus.Core.Parsers.Hcl.Tests/Octopus.CoreParsers.Hcl.Tests.csproj @@ -10,13 +10,13 @@ - - - - - + + + + + - +