Skip to content

Commit 787474e

Browse files
committed
(build) added RollForward=LatestMajor for GitVersion.Tool
1 parent 15da5ed commit 787474e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build/build/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public void Configure(IServiceCollection services)
1515

1616
services.UseTool(new Uri("nuget:?package=NuGet.CommandLine&version=5.11.0"));
1717
services.UseTool(new Uri("dotnet:?package=Codecov.Tool&version=1.13.0"));
18-
services.UseTool(new Uri("dotnet:?package=GitVersion.Tool&version=5.6.11"));
18+
services.UseTool(new Uri("dotnet:?package=GitVersion.Tool&version=5.7.0"));
1919
}
2020
}

src/GitVersion.App/GitVersion.App.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<PropertyGroup Condition=" '$(PackAsTool)' == 'true' ">
1818
<ToolCommandName>dotnet-gitversion</ToolCommandName>
1919
<PackageId>GitVersion.Tool</PackageId>
20+
<RollForward>LatestMajor</RollForward>
2021
<PackageDescription>Derives SemVer information from a repository following GitFlow or GitHubFlow. This is the .NET Core Global Tool allowing usage of GitVersion from command line.</PackageDescription>
2122
</PropertyGroup>
2223

0 commit comments

Comments
 (0)