Skip to content

Added failing tests for #1255, #1844, #2034, #2454, #2693, #2821, #2786 #3445

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

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0b1c2cc
(build deps): Bump actions/stale from 7 to 8
dependabot[bot] Mar 23, 2023
ad77771
Merge pull request #3448 from GitTools/dependabot/github_actions/acti…
arturcic Mar 24, 2023
20d3752
(deps): Bump JsonSchema.Net.Generation from 3.0.3 to 3.1.0
dependabot[bot] Mar 24, 2023
598b370
Merge pull request #3449 from GitTools/dependabot/nuget/JsonSchema.Ne…
arturcic Mar 25, 2023
27d4d0c
Made GitVersionVariables more like DTO
arturcic Mar 26, 2023
ba059b2
Renamed VersionVariables -> GitVersionVariables
arturcic Mar 26, 2023
23e2390
fixed approved files
arturcic Mar 26, 2023
065a34f
convert GitVersionVariables to record
arturcic Mar 26, 2023
516f2e7
removed ReflectionIgnore attribute from GitVersionVariable
arturcic Mar 26, 2023
83dbf0e
order properties
arturcic Mar 26, 2023
5edab63
added GitVersion.Abstractions
arturcic Mar 19, 2023
2adb521
moved Agents ang Git interfaces
arturcic Mar 26, 2023
8d8496c
moved some Configuration interfaces
arturcic Mar 26, 2023
a2299d0
use configuration builder in init module
arturcic Mar 27, 2023
6401cd4
use BranchConfigurationBuilder
arturcic Mar 28, 2023
683ca38
move more interfaces to Abstractions
arturcic Mar 28, 2023
06d76e5
decoupled modules from core and use abstractions instead
arturcic Mar 28, 2023
ea49bfa
fix api analyzer errors
arturcic Mar 28, 2023
7feae1d
Merge pull request #3451 from arturcic/feature/abstractions
arturcic Mar 28, 2023
488a150
Revert "Added GitVersion.Abstractions module"
arturcic Mar 28, 2023
d187a01
Merge pull request #3452 from GitTools/revert-3451-feature/abstractions
arturcic Mar 29, 2023
059ee5f
made classes that should not be exposed, internal (App, MsBuild and O…
arturcic Mar 29, 2023
8b6f878
use IGitVersionConfiguration instead of GitVersionConfiguration
arturcic Mar 29, 2023
458090a
use IBranchConfiguration instead of BranchConfiguration
arturcic Mar 29, 2023
71e0e98
Merge pull request #3454 from arturcic/feature/configuration
arturcic Mar 29, 2023
1cb9bb8
made classes that should not be exposed, internal (Core)
arturcic Mar 30, 2023
dfa86cb
#2665 - fix issues templates
arturcic Apr 4, 2023
f1ced75
Merge pull request #3457 from arturcic/bug/2665
arturcic Apr 4, 2023
d92fdc9
(ci deps): Bump Cake.Http from 2.0.0 to 3.0.2 in /build
dependabot[bot] Apr 4, 2023
0acceaf
Fix Bug: Branch names cannot contain the word 'refs' #3103
HHobeck Apr 4, 2023
1ef74f4
Merge pull request #3459 from HHobeck/feature/3103_branch-name-cannot…
arturcic Apr 4, 2023
4e6051a
Merge pull request #3458 from GitTools/dependabot/nuget/build/Cake.Ht…
arturcic Apr 4, 2023
eb35aff
Added failing tests for #1255, #1844, #2034, #2454, #2693, #2821, #2786
arturcic Mar 19, 2023
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Documentation
about: Describe this issue template's purpose here.
about: Describe the missing/wrong information in the documentation.
title: "[Docs]"
labels: documentation
assignees: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/failing-test.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Failing test
about: Describe this issue template's purpose here.
about: Describe the scenario you have as a unit test.
title: "[Failing test]"
labels: failing test case
assignees: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/improvement-request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Improvement request
about: Describe this issue template's purpose here.
about: Describe the change you want to request.
title: "[Improvement]"
labels: improvement
assignees: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
- uses: actions/stale@v8
with:
# set 'stale' label
stale-issue-label: stale
Expand Down
4 changes: 2 additions & 2 deletions build/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
Expand All @@ -7,7 +7,7 @@
<PackageVersion Include="Cake.Codecov" Version="1.0.1" />
<PackageVersion Include="Cake.Coverlet" Version="3.0.4" />
<PackageVersion Include="Cake.Frosting" Version="3.0.0" />
<PackageVersion Include="Cake.Http" Version="2.0.0" />
<PackageVersion Include="Cake.Http" Version="3.0.2" />
<PackageVersion Include="Cake.Incubator" Version="8.0.0" />
<PackageVersion Include="Cake.DotNetLocalTools.Module" Version="3.0.12" />
<PackageVersion Include="Cake.Docker" Version="1.2.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="FluentDateTime" Version="2.1.0" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.0.3" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.1.0" />
<PackageVersion Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
<PackageVersion Include="LibGit2Sharp.NativeBinaries" Version="2.0.315-alpha.0.9" />
<PackageVersion Include="JetBrains.Annotations" Version="2022.3.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private class MockBuildAgent : ICurrentBuildAgent
public bool IsDefault => false;
public bool CanApplyToCurrentContext() => throw new NotImplementedException();

public void WriteIntegration(Action<string> writer, VersionVariables variables, bool updateBuildNumber = true) => throw new NotImplementedException();
public void WriteIntegration(Action<string> writer, GitVersionVariables variables, bool updateBuildNumber = true) => throw new NotImplementedException();

public string GetCurrentBranch(bool usingDynamicRepos) => throw new NotImplementedException();

Expand Down
4 changes: 2 additions & 2 deletions src/GitVersion.App.Tests/ArgumentParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private static IEnumerable<TestCaseData> OverrideconfigWithInvalidOptionTestData
}

[TestCaseSource(nameof(OverrideConfigWithSingleOptionTestData))]
public void OverrideConfigWithSingleOptions(string options, GitVersionConfiguration expected)
public void OverrideConfigWithSingleOptions(string options, IGitVersionConfiguration expected)
{
var arguments = this.argumentParser.ParseArguments($"/overrideconfig {options}");

Expand Down Expand Up @@ -534,7 +534,7 @@ private static IEnumerable<TestCaseData> OverrideConfigWithSingleOptionTestData(
}

[TestCaseSource(nameof(OverrideConfigWithMultipleOptionsTestData))]
public void OverrideConfigWithMultipleOptions(string options, GitVersionConfiguration expected)
public void OverrideConfigWithMultipleOptions(string options, IGitVersionConfiguration expected)
{
var arguments = this.argumentParser.ParseArguments(options);
ConfigurationHelper configurationHelper = new(arguments.OverrideConfiguration);
Expand Down
4 changes: 2 additions & 2 deletions src/GitVersion.App.Tests/Helpers/ExecutionResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public ExecutionResults(int exitCode, string output, string? logContents)
public string Output { get; }
public string? Log { get; }

public virtual VersionVariables OutputVariables
public virtual GitVersionVariables OutputVariables
{
get
{
var jsonStartIndex = Output.IndexOf("{", StringComparison.Ordinal);
var jsonEndIndex = Output.IndexOf("}", StringComparison.Ordinal);
var json = Output.Substring(jsonStartIndex, jsonEndIndex - jsonStartIndex + 1);

return VersionVariables.FromJson(json);
return VersionVariablesHelper.FromJson(json);
}
}
}
4 changes: 2 additions & 2 deletions src/GitVersion.App.Tests/Helpers/ProgramFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class ProgramFixtureResult
public string? Output { get; set; }
public string Log { get; set; }

public VersionVariables? OutputVariables
public GitVersionVariables? OutputVariables
{
get
{
Expand All @@ -90,7 +90,7 @@ public VersionVariables? OutputVariables
var jsonEndIndex = Output.IndexOf("}", StringComparison.Ordinal);
var json = Output.Substring(jsonStartIndex, jsonEndIndex - jsonStartIndex + 1);

return VersionVariables.FromJson(json);
return VersionVariablesHelper.FromJson(json);
}
}
}
2 changes: 1 addition & 1 deletion src/GitVersion.App.Tests/JsonOutputOnBuildServerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void BeingOnBuildServerWithOutputJsonAndOutputFileDoesNotFail(string outp
var filePath = PathHelper.Combine(fixture.LocalRepositoryFixture.RepositoryPath, fileName);
var json = File.ReadAllText(filePath);

var outputVariables = VersionVariables.FromJson(json);
var outputVariables = VersionVariablesHelper.FromJson(json);
outputVariables.ShouldNotBeNull();
outputVariables.FullSemVer.ShouldBeEquivalentTo(expectedVersion);
}
Expand Down
4 changes: 2 additions & 2 deletions src/GitVersion.App.Tests/UpdateWixVersionFileTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void WixVersionFileVarCountTest()
GitVersionHelper.ExecuteIn(fixture.RepositoryPath, arguments: " /updatewixversionfile");

var gitVersionVarsInWix = GetGitVersionVarsInWixFile(PathHelper.Combine(fixture.RepositoryPath, this.wixVersionFileName));
var gitVersionVars = VersionVariables.AvailableVariables;
var gitVersionVars = GitVersionVariables.AvailableVariables;

Assert.That(gitVersionVarsInWix, Has.Count.EqualTo(gitVersionVars.Count()));
}
Expand All @@ -55,7 +55,7 @@ public void WixVersionFileContentTest()
GitVersionHelper.ExecuteIn(fixture.RepositoryPath, arguments: " /updatewixversionfile");

var gitVersionVarsInWix = GetGitVersionVarsInWixFile(PathHelper.Combine(fixture.RepositoryPath, this.wixVersionFileName));
var gitVersionVars = VersionVariables.AvailableVariables;
var gitVersionVars = GitVersionVariables.AvailableVariables;

foreach (var variable in gitVersionVars)
{
Expand Down
13 changes: 7 additions & 6 deletions src/GitVersion.App/ArgumentParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@

namespace GitVersion;

public class ArgumentParser : IArgumentParser
internal class ArgumentParser : IArgumentParser
{
private readonly IEnvironment environment;
private readonly ICurrentBuildAgent buildAgent;
private readonly IConsole console;
private readonly IGlobbingResolver globbingResolver;
private const string defaultOutputFileName = "GitVersion.json";
private static readonly IEnumerable<string> availableVariables = GitVersionVariables.AvailableVariables;

public ArgumentParser(IEnvironment environment, ICurrentBuildAgent buildAgent, IConsole console, IGlobbingResolver globbingResolver)
{
Expand Down Expand Up @@ -382,13 +383,13 @@ private static void ParseShowVariable(Arguments arguments, string? value, string

if (!value.IsNullOrWhiteSpace())
{
versionVariable = VersionVariables.AvailableVariables.SingleOrDefault(av => av.Equals(value.Replace("'", ""), StringComparison.CurrentCultureIgnoreCase));
versionVariable = availableVariables.SingleOrDefault(av => av.Equals(value.Replace("'", ""), StringComparison.CurrentCultureIgnoreCase));
}

if (versionVariable == null)
{
var message = $"{name} requires a valid version variable. Available variables are:{System.Environment.NewLine}" +
string.Join(", ", VersionVariables.AvailableVariables.Select(x => string.Concat("'", x, "'")));
string.Join(", ", availableVariables.Select(x => string.Concat("'", x, "'")));
throw new WarningException(message);
}

Expand All @@ -399,14 +400,14 @@ private static void ParseFormat(Arguments arguments, string? value)
{
if (value.IsNullOrWhiteSpace())
{
throw new WarningException("Format requires a valid format string. Available variables are: " + string.Join(", ", VersionVariables.AvailableVariables));
throw new WarningException("Format requires a valid format string. Available variables are: " + string.Join(", ", availableVariables));
}

var foundVariable = VersionVariables.AvailableVariables.Any(variable => value.Contains(variable, StringComparison.CurrentCultureIgnoreCase));
var foundVariable = availableVariables.Any(variable => value.Contains(variable, StringComparison.CurrentCultureIgnoreCase));

if (!foundVariable)
{
throw new WarningException("Format requires a valid format string. Available variables are: " + string.Join(", ", VersionVariables.AvailableVariables));
throw new WarningException("Format requires a valid format string. Available variables are: " + string.Join(", ", availableVariables));
}

arguments.Format = value;
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/Arguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace GitVersion;

public class Arguments
internal class Arguments
{
public AuthenticationInfo Authentication = new();

Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/GitVersionAppModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace GitVersion;

public class GitVersionAppModule : IGitVersionModule
internal class GitVersionAppModule : IGitVersionModule
{
public void RegisterTypes(IServiceCollection services)
{
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/GitVersionExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace GitVersion;

public class GitVersionExecutor : IGitVersionExecutor
internal class GitVersionExecutor : IGitVersionExecutor
{
private readonly ILog log;
private readonly IConsole console;
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/GlobbingResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace GitVersion;

public class GlobbingResolver : IGlobbingResolver
internal class GlobbingResolver : IGlobbingResolver
{
private readonly Matcher matcher = new(StringComparison.OrdinalIgnoreCase);

Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/HelpWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace GitVersion;

public class HelpWriter : IHelpWriter
internal class HelpWriter : IHelpWriter
{
private readonly IVersionWriter versionWriter;
private readonly IConsole console;
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/IArgumentParser.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace GitVersion;

public interface IArgumentParser
internal interface IArgumentParser
{
Arguments ParseArguments(string commandLineArguments);
Arguments ParseArguments(string[] commandLineArguments);
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/IGitVersionExecutor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace GitVersion;

public interface IGitVersionExecutor
internal interface IGitVersionExecutor
{
int Execute(GitVersionOptions gitVersionOptions);
}
2 changes: 1 addition & 1 deletion src/GitVersion.App/IGlobbingResolver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace GitVersion;

public interface IGlobbingResolver
internal interface IGlobbingResolver
{
public IEnumerable<string> Resolve(string workingDirectory, string pattern);
}
2 changes: 1 addition & 1 deletion src/GitVersion.App/IHelpWriter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace GitVersion;

public interface IHelpWriter
internal interface IHelpWriter
{
void Write();
void WriteTo(Action<string> writeAction);
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/IVersionWriter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace GitVersion;

public interface IVersionWriter
internal interface IVersionWriter
{
void Write(Assembly assembly);
void WriteTo(Assembly assembly, Action<string?> writeAction);
Expand Down
68 changes: 0 additions & 68 deletions src/GitVersion.App/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,69 +1 @@
#nullable enable
GitVersion.ArgumentParser
GitVersion.ArgumentParser.ArgumentParser(GitVersion.IEnvironment! environment, GitVersion.Agents.ICurrentBuildAgent! buildAgent, GitVersion.Logging.IConsole! console, GitVersion.IGlobbingResolver! globbingResolver) -> void
GitVersion.ArgumentParser.ParseArguments(string! commandLineArguments) -> GitVersion.Arguments!
GitVersion.ArgumentParser.ParseArguments(string![]! commandLineArguments) -> GitVersion.Arguments!
GitVersion.Arguments
GitVersion.Arguments.Arguments() -> void
GitVersion.Arguments.Authentication -> GitVersion.AuthenticationInfo!
GitVersion.Arguments.ClonePath -> string?
GitVersion.Arguments.CommitId -> string?
GitVersion.Arguments.ConfigurationFile -> string?
GitVersion.Arguments.Diag -> bool
GitVersion.Arguments.EnsureAssemblyInfo -> bool
GitVersion.Arguments.Format -> string?
GitVersion.Arguments.Init -> bool
GitVersion.Arguments.IsHelp -> bool
GitVersion.Arguments.IsVersion -> bool
GitVersion.Arguments.LogFilePath -> string?
GitVersion.Arguments.NoCache -> bool
GitVersion.Arguments.NoFetch -> bool
GitVersion.Arguments.NoNormalize -> bool
GitVersion.Arguments.Output -> System.Collections.Generic.ISet<GitVersion.OutputType>!
GitVersion.Arguments.OutputFile -> string?
GitVersion.Arguments.OverrideConfiguration -> System.Collections.Generic.IReadOnlyDictionary<object!, object?>!
GitVersion.Arguments.ShowConfiguration -> bool
GitVersion.Arguments.ShowVariable -> string?
GitVersion.Arguments.TargetBranch -> string?
GitVersion.Arguments.TargetPath -> string?
GitVersion.Arguments.TargetUrl -> string?
GitVersion.Arguments.ToOptions() -> GitVersion.GitVersionOptions!
GitVersion.Arguments.UpdateAssemblyInfo -> bool
GitVersion.Arguments.UpdateAssemblyInfoFileName -> System.Collections.Generic.ISet<string!>!
GitVersion.Arguments.UpdateProjectFiles -> bool
GitVersion.Arguments.UpdateWixVersionFile -> bool
GitVersion.Arguments.Verbosity -> GitVersion.Logging.Verbosity
GitVersion.GitVersionAppModule
GitVersion.GitVersionAppModule.GitVersionAppModule() -> void
GitVersion.GitVersionAppModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void
GitVersion.GitVersionExecutor
GitVersion.GitVersionExecutor.Execute(GitVersion.GitVersionOptions! gitVersionOptions) -> int
GitVersion.GitVersionExecutor.GitVersionExecutor(GitVersion.Logging.ILog! log, GitVersion.Logging.IConsole! console, GitVersion.Configuration.IConfigurationFileLocator! configurationFileLocator, GitVersion.Configuration.IConfigurationProvider! configurationProvider, GitVersion.IGitVersionCalculateTool! gitVersionCalculateTool, GitVersion.IGitVersionOutputTool! gitVersionOutputTool, GitVersion.IVersionWriter! versionWriter, GitVersion.IHelpWriter! helpWriter, GitVersion.IGitRepositoryInfo! repositoryInfo) -> void
GitVersion.GlobbingResolver
GitVersion.GlobbingResolver.GlobbingResolver() -> void
GitVersion.GlobbingResolver.Resolve(string! workingDirectory, string! pattern) -> System.Collections.Generic.IEnumerable<string!>!
GitVersion.HelpWriter
GitVersion.HelpWriter.HelpWriter(GitVersion.IVersionWriter! versionWriter, GitVersion.Logging.IConsole! console) -> void
GitVersion.HelpWriter.Write() -> void
GitVersion.HelpWriter.WriteTo(System.Action<string!>! writeAction) -> void
GitVersion.IArgumentParser
GitVersion.IArgumentParser.ParseArguments(string! commandLineArguments) -> GitVersion.Arguments!
GitVersion.IArgumentParser.ParseArguments(string![]! commandLineArguments) -> GitVersion.Arguments!
GitVersion.IGitVersionExecutor
GitVersion.IGitVersionExecutor.Execute(GitVersion.GitVersionOptions! gitVersionOptions) -> int
GitVersion.IGlobbingResolver
GitVersion.IGlobbingResolver.Resolve(string! workingDirectory, string! pattern) -> System.Collections.Generic.IEnumerable<string!>!
GitVersion.IHelpWriter
GitVersion.IHelpWriter.Write() -> void
GitVersion.IHelpWriter.WriteTo(System.Action<string!>! writeAction) -> void
GitVersion.IVersionWriter
GitVersion.IVersionWriter.Write(System.Reflection.Assembly! assembly) -> void
GitVersion.IVersionWriter.WriteTo(System.Reflection.Assembly! assembly, System.Action<string?>! writeAction) -> void
GitVersion.QuotedStringHelpers
GitVersion.VersionWriter
GitVersion.VersionWriter.VersionWriter(GitVersion.Logging.IConsole! console) -> void
GitVersion.VersionWriter.Write(System.Reflection.Assembly! assembly) -> void
GitVersion.VersionWriter.WriteTo(System.Reflection.Assembly! assembly, System.Action<string?>! writeAction) -> void
static GitVersion.QuotedStringHelpers.SplitUnquoted(string? input, char splitChar) -> string![]!
static GitVersion.QuotedStringHelpers.UnquoteText(string! input) -> string!
virtual GitVersion.GlobbingResolver.GetDirectoryInfoWrapper(string! workingDirectory) -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase!
2 changes: 1 addition & 1 deletion src/GitVersion.App/QuotedStringHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace GitVersion;

public static class QuotedStringHelpers
internal static class QuotedStringHelpers
{
/// <summary>
/// Splits input string based on split-character, ignoring split-character in
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App/VersionWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace GitVersion;

public class VersionWriter : IVersionWriter
internal class VersionWriter : IVersionWriter
{
private readonly IConsole console;

Expand Down
Loading