Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunset .net 6.0 #4279

Merged
merged 1 commit into from
Nov 13, 2024
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
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
Loading