From 2e2cfc6ad51731fffe040bf2f506a54f43a56700 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:51:27 +0000 Subject: [PATCH] (deps): Bump dotnet-sdk from 9.0.102 to 9.0.200 Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 9.0.102 to 9.0.200. - [Release notes](https://github.com/dotnet/sdk/releases) - [Commits](https://github.com/dotnet/sdk/compare/v9.0.102...v9.0.200) --- updated-dependencies: - dependency-name: dotnet-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- build/build/Tasks/Package/PackageNuget.cs | 2 +- global.json | 2 +- new-cli/GitVersion.Common.Command/ICommand.cs | 2 +- src/GitVersion.App/IGlobbingResolver.cs | 2 +- src/GitVersion.Core/Configuration/IBranchConfiguration.cs | 4 ++-- .../Configuration/IConfigurationSerializer.cs | 4 ++-- src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs | 2 +- .../Configuration/IPreventIncrementConfiguration.cs | 6 +++--- src/GitVersion.Core/Output/IConverterContext.cs | 2 +- src/GitVersion.Core/Output/IVersionConverter.cs | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build/build/Tasks/Package/PackageNuget.cs b/build/build/Tasks/Package/PackageNuget.cs index cfd2a35f78..300c32848f 100644 --- a/build/build/Tasks/Package/PackageNuget.cs +++ b/build/build/Tasks/Package/PackageNuget.cs @@ -25,7 +25,7 @@ private static void PackageWithCli(BuildContext context) // GitVersion.MsBuild, global tool & core context.DotNetPack("./src/GitVersion.Core", settings); - settings.ArgumentCustomization = arg => arg.Append("-p:PackAsTool=true"); + settings.ArgumentCustomization = arg => arg.Append("-p:PackAsTool=true").Append("-p:BuildInParallel=false"); context.DotNetPack("./src/GitVersion.App", settings); settings.ArgumentCustomization = arg => arg.Append("-p:IsPackaging=true"); diff --git a/global.json b/global.json index 63f9762c77..d5acb9d0bc 100644 --- a/global.json +++ b/global.json @@ -5,6 +5,6 @@ "src" ], "sdk": { - "version": "9.0.102" + "version": "9.0.200" } } diff --git a/new-cli/GitVersion.Common.Command/ICommand.cs b/new-cli/GitVersion.Common.Command/ICommand.cs index 9b630a7177..6f2723e5cf 100644 --- a/new-cli/GitVersion.Common.Command/ICommand.cs +++ b/new-cli/GitVersion.Common.Command/ICommand.cs @@ -2,7 +2,7 @@ namespace GitVersion; public interface ICommand { - public Task InvokeAsync(T settings, CancellationToken cancellationToken = default); + Task InvokeAsync(T settings, CancellationToken cancellationToken = default); } public interface ICommandImpl diff --git a/src/GitVersion.App/IGlobbingResolver.cs b/src/GitVersion.App/IGlobbingResolver.cs index a65374573d..6bfa777fb1 100644 --- a/src/GitVersion.App/IGlobbingResolver.cs +++ b/src/GitVersion.App/IGlobbingResolver.cs @@ -2,5 +2,5 @@ namespace GitVersion; internal interface IGlobbingResolver { - public IEnumerable Resolve(string workingDirectory, string pattern); + IEnumerable Resolve(string workingDirectory, string pattern); } diff --git a/src/GitVersion.Core/Configuration/IBranchConfiguration.cs b/src/GitVersion.Core/Configuration/IBranchConfiguration.cs index 209168bb9d..8a72789533 100644 --- a/src/GitVersion.Core/Configuration/IBranchConfiguration.cs +++ b/src/GitVersion.Core/Configuration/IBranchConfiguration.cs @@ -20,9 +20,9 @@ public interface IBranchConfiguration CommitMessageIncrementMode? CommitMessageIncrementing { get; } - public string? RegularExpression { get; } + string? RegularExpression { get; } - public bool IsMatch(string branchName) + bool IsMatch(string branchName) { if (string.IsNullOrWhiteSpace(RegularExpression)) { diff --git a/src/GitVersion.Core/Configuration/IConfigurationSerializer.cs b/src/GitVersion.Core/Configuration/IConfigurationSerializer.cs index 312e0e3feb..abb3d744b3 100644 --- a/src/GitVersion.Core/Configuration/IConfigurationSerializer.cs +++ b/src/GitVersion.Core/Configuration/IConfigurationSerializer.cs @@ -2,7 +2,7 @@ namespace GitVersion.Configuration; internal interface IConfigurationSerializer { - public T Deserialize(string input); + T Deserialize(string input); string Serialize(object graph); - public IGitVersionConfiguration? ReadConfiguration(string input); + IGitVersionConfiguration? ReadConfiguration(string input); } diff --git a/src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs b/src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs index 21efe431d6..f836d52915 100644 --- a/src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs +++ b/src/GitVersion.Core/Configuration/IIgnoreConfiguration.cs @@ -6,5 +6,5 @@ public interface IIgnoreConfiguration IReadOnlySet Shas { get; } - public bool IsEmpty => Before == null && Shas.Count == 0; + bool IsEmpty => Before == null && Shas.Count == 0; } diff --git a/src/GitVersion.Core/Configuration/IPreventIncrementConfiguration.cs b/src/GitVersion.Core/Configuration/IPreventIncrementConfiguration.cs index 1769ed0cac..bc8c1b9460 100644 --- a/src/GitVersion.Core/Configuration/IPreventIncrementConfiguration.cs +++ b/src/GitVersion.Core/Configuration/IPreventIncrementConfiguration.cs @@ -2,9 +2,9 @@ namespace GitVersion.Configuration; public interface IPreventIncrementConfiguration { - public bool? OfMergedBranch { get; } + bool? OfMergedBranch { get; } - public bool? WhenBranchMerged { get; } + bool? WhenBranchMerged { get; } - public bool? WhenCurrentCommitTagged { get; } + bool? WhenCurrentCommitTagged { get; } } diff --git a/src/GitVersion.Core/Output/IConverterContext.cs b/src/GitVersion.Core/Output/IConverterContext.cs index 2df5562e71..eb8d0a4d32 100644 --- a/src/GitVersion.Core/Output/IConverterContext.cs +++ b/src/GitVersion.Core/Output/IConverterContext.cs @@ -2,5 +2,5 @@ namespace GitVersion; public interface IConverterContext { - public string WorkingDirectory { get; } + string WorkingDirectory { get; } } diff --git a/src/GitVersion.Core/Output/IVersionConverter.cs b/src/GitVersion.Core/Output/IVersionConverter.cs index 34d34a8454..22fdd9a75d 100644 --- a/src/GitVersion.Core/Output/IVersionConverter.cs +++ b/src/GitVersion.Core/Output/IVersionConverter.cs @@ -4,5 +4,5 @@ namespace GitVersion; public interface IVersionConverter : IDisposable where T : IConverterContext { - public void Execute(GitVersionVariables variables, T context); + void Execute(GitVersionVariables variables, T context); }