Skip to content

Commit 5b42cda

Browse files
authored
Merge pull request #4613 from GitTools/dependabot/nuget/new-cli/microsoft-25aaa9dc57
(deps): Bump the microsoft group with 13 updates
2 parents ca4646d + 8c3796c commit 5b42cda

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

new-cli/Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="4.14.0" />
1111
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
1212
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
13-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.6" />
13+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.7" />
1414
<PackageVersion Include="Polly" Version="8.6.0" />
1515
<PackageVersion Include="Roslynator.Analyzers" Version="4.13.1" />
1616
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.13.1" />
@@ -20,8 +20,8 @@
2020
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
2121
<PackageVersion Include="Serilog.Sinks.File" Version="7.0.0" />
2222
<PackageVersion Include="Serilog.Sinks.Map" Version="2.0.0" />
23-
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta7.25353.2" />
23+
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta7.25358.2" />
2424
<PackageVersion Include="System.IO.Abstractions" Version="22.0.15" />
25-
<PackageVersion Include="System.Text.Json" Version="9.0.6" />
25+
<PackageVersion Include="System.Text.Json" Version="9.0.7" />
2626
</ItemGroup>
2727
</Project>

new-cli/GitVersion.Cli/GitVersionApp.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@ namespace GitVersion;
99
// ReSharper disable once ClassNeverInstantiated.Global
1010
internal class GitVersionApp(RootCommandImpl rootCommand)
1111
{
12-
private readonly RootCommandImpl rootCommand = rootCommand.NotNull();
12+
private readonly RootCommandImpl _rootCommand = rootCommand.NotNull();
1313

1414
public Task<int> RunAsync(string[] args, CancellationToken cancellationToken)
1515
{
16-
var cliConfiguration = new CommandLineConfiguration(rootCommand);
17-
var parseResult = cliConfiguration.Parse(args);
16+
var parseResult = this._rootCommand.Parse(args);
1817

1918
var logFile = parseResult.GetValue<FileInfo?>(GitVersionSettings.LogFileOption);
2019
var verbosity = parseResult.GetValue<Verbosity?>(GitVersionSettings.VerbosityOption) ?? Verbosity.Normal;
2120

2221
if (logFile?.FullName != null) LoggingEnricher.Path = logFile.FullName;
2322
LoggingEnricher.LogLevel.MinimumLevel = GetLevelForVerbosity(verbosity);
2423

25-
return parseResult.InvokeAsync(cancellationToken);
24+
return parseResult.InvokeAsync(new InvocationConfiguration(), cancellationToken);
2625
}
2726

2827
// Note: there are 2 locations to watch for dotnet-suggest

src/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
<PackageVersion Include="NUnit.Analyzers" Version="4.9.2" />
3838
<PackageVersion Include="NUnit3TestAdapter" Version="5.0.0" />
3939
<PackageVersion Include="Shouldly" Version="4.3.0" />
40-
<PackageVersion Include="System.Collections.Immutable" Version="9.0.2" />
40+
<PackageVersion Include="System.Collections.Immutable" Version="9.0.7" />
4141
<PackageVersion Include="System.Drawing.Common" Version="9.0.7" />
4242
<PackageVersion Include="System.IO.Abstractions" Version="22.0.15" />
43-
<PackageVersion Include="System.Reflection.Metadata" Version="9.0.2" />
43+
<PackageVersion Include="System.Reflection.Metadata" Version="9.0.7" />
4444
<PackageVersion Include="System.Security.Cryptography.Xml" Version="9.0.7" />
4545
<PackageVersion Include="System.Text.Json" Version="9.0.7" />
4646
<PackageVersion Include="YamlDotNet" Version="16.3.0" />

0 commit comments

Comments
 (0)