Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Build : NukeBuild
// OctoVersionInfo parameter is not set due to an error or misconfiguration in Nuke.
[Required]
// 'Framework' selects which of the tool's targets to run. The tool ships
// net10.0 only.
// net10.0 and net11.0.
[OctoVersion(UpdateBuildNumber = true,
BranchParameter = nameof(Branch),
Framework = "net10.0")]
Expand Down
2 changes: 1 addition & 1 deletion source/Cake.OctoVersion/Cake.OctoVersion.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0</Version>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
4 changes: 2 additions & 2 deletions source/OctoVersion.Tool/OctoVersion.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<!-- run on a newer runtime when .NET 10 isn't installed, e.g. an agent with only .NET 11 -->
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
<!-- run on a newer runtime when neither .NET 10 nor .NET 11 is installed -->
<RollForward>Major</RollForward>
<PackAsTool>true</PackAsTool>
<ToolCommandName>octoversion</ToolCommandName>
Expand Down