Skip to content

Commit

Permalink
Sunset .net 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Oct 31, 2024
1 parent 08ff556 commit 08f2756
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 29 deletions.
23 changes: 0 additions & 23 deletions build/.run/UnitTest (6.0).run.xml

This file was deleted.

3 changes: 1 addition & 2 deletions build/common/Utilities/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ public static class Constants
public const string RepoOwner = "GitTools";
public const string Repository = "GitVersion";

public const string VersionCurrent = "6.0";
public const string VersionLatest = "8.0";
public static readonly string[] DotnetVersions = [VersionCurrent, VersionLatest];
public static readonly string[] DotnetVersions = [VersionLatest];

public const string DefaultBranch = "main";
public const string DefaultConfiguration = "Release";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in your build step.
An example pipeline is shown below:

```yml
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0

clone:
depth: full
Expand Down Expand Up @@ -50,7 +50,7 @@ If you want to share the text file across multiple build steps, then you will ne
is shown below:

```yml
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0
clone:
depth: full
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>

<EndYear>$([System.DateTime]::Today.Year)</EndYear>
<Authors>GitTools and Contributors</Authors>
Expand Down
1 change: 0 additions & 1 deletion src/GitVersion.MsBuild/GitVersion.MsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<None Include="msbuild/build/*.*" Pack="true" PackagePath="build" />
<None Include="msbuild/buildMultiTargeting/*.*" Pack="true" PackagePath="buildMultiTargeting" />

<None Include="$(ExePublishPath)/net6.0/publish/**/*;$(BinPath)/net6.0/GitVersion.MsBuild.*" Pack="true" PackagePath="tools/net6.0" />
<None Include="$(ExePublishPath)/net8.0/publish/**/*;$(BinPath)/net8.0/GitVersion.MsBuild.*" Pack="true" PackagePath="tools/net8.0" />
</ItemGroup>

Expand Down

0 comments on commit 08f2756

Please sign in to comment.