Skip to content

Commit 8185eea

Browse files
committed
Rename class to AssemblyInfoFileUpdater
1 parent cdacfc3 commit 8185eea

File tree

23 files changed

+43
-43
lines changed

23 files changed

+43
-43
lines changed

src/GitVersionCore.Tests/AssemblyInfoFileUpdateTests.cs renamed to src/GitVersionCore.Tests/AssemblyInfoFileUpdaterTests.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Shouldly;
1111

1212
[TestFixture]
13-
public class AssemblyInfoFileUpdateTests
13+
public class AssemblyInfoFileUpdaterTests
1414
{
1515
[SetUp]
1616
public void SetLoggers()
@@ -34,7 +34,7 @@ public void ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo(strin
3434
var fullPath = Path.Combine(workingDir, assemblyInfoFile.First());
3535
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
3636

37-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, true))
37+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, true))
3838
{
3939
assemblyInfoFileUpdater.Update();
4040

@@ -58,7 +58,7 @@ public void ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo
5858
var fullPath = Path.Combine(workingDir, assemblyInfoFile.First());
5959
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
6060

61-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, true))
61+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, true))
6262
{
6363
assemblyInfoFileUpdater.Update();
6464

@@ -82,7 +82,7 @@ public void ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInf
8282
};
8383
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
8484

85-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, true))
85+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, true))
8686
{
8787
assemblyInfoFileUpdater.Update();
8888

@@ -108,7 +108,7 @@ public void ShouldNotCreateAssemblyInfoFileWhenNotExistsAndNotEnsureAssemblyInfo
108108
var fullPath = Path.Combine(workingDir, assemblyInfoFile.First());
109109
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
110110

111-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
111+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
112112
{
113113
assemblyInfoFileUpdater.Update();
114114

@@ -128,7 +128,7 @@ public void ShouldNotCreateAssemblyInfoFileForUnknownSourceCodeAndEnsureAssembly
128128
var fullPath = Path.Combine(workingDir, assemblyInfoFile.First());
129129
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
130130

131-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, true))
131+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, true))
132132
{
133133
assemblyInfoFileUpdater.Update();
134134

@@ -144,7 +144,7 @@ public void ShouldStartSearchFromWorkingDirectory()
144144
var assemblyInfoFile = new HashSet<string>();
145145
var variables = VariableProvider.GetVariablesFor(SemanticVersion.Parse("1.0.0", "v"), new TestEffectiveConfiguration(), false);
146146

147-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
147+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
148148
{
149149
assemblyInfoFileUpdater.Update();
150150

@@ -168,7 +168,7 @@ public void ShouldReplaceAssemblyVersion(string fileExtension, string assemblyFi
168168

169169
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
170170
{
171-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
171+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
172172
{
173173
assemblyInfoFileUpdater.Update();
174174

@@ -196,7 +196,7 @@ public void ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone(string fileEx
196196

197197
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.None, verify: (fileSystem, variables) =>
198198
{
199-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
199+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
200200
{
201201
assemblyInfoFileUpdater.Update();
202202

@@ -222,7 +222,7 @@ public void ShouldReplaceAssemblyVersionInRelativePath(string fileExtension, str
222222

223223
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
224224
{
225-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
225+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
226226
{
227227
assemblyInfoFileUpdater.Update();
228228

@@ -248,7 +248,7 @@ public void ShouldReplaceAssemblyVersionInRelativePathWithWhiteSpace(string file
248248

249249
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
250250
{
251-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
251+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
252252
{
253253
assemblyInfoFileUpdater.Update();
254254

@@ -276,7 +276,7 @@ public void ShouldReplaceAssemblyVersionWithStar(string fileExtension, string as
276276

277277
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
278278
{
279-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
279+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
280280
{
281281
assemblyInfoFileUpdater.Update();
282282

@@ -304,7 +304,7 @@ public void ShouldReplaceAssemblyVersionWithAtttributeSuffix(string fileExtensio
304304

305305
VerifyAssemblyInfoFile(assemblyFileContent, fileName, verify: (fileSystem, variables) =>
306306
{
307-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
307+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
308308
{
309309
assemblyInfoFileUpdater.Update();
310310

@@ -333,7 +333,7 @@ public void ShouldAddAssemblyVersionIfMissingFromInfoFile(string fileExtension)
333333

334334
VerifyAssemblyInfoFile("", fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
335335
{
336-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
336+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
337337
{
338338
assemblyInfoFileUpdater.Update();
339339

@@ -361,7 +361,7 @@ public void ShouldReplaceAlreadySubstitutedValues(string fileExtension, string a
361361

362362
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
363363
{
364-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
364+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
365365
{
366366
assemblyInfoFileUpdater.Update();
367367

@@ -389,7 +389,7 @@ public void ShouldReplaceAssemblyVersionWhenCreatingAssemblyVersionFileAndEnsure
389389

390390
VerifyAssemblyInfoFile(assemblyFileContent, fileName, verify: (fileSystem, variables) =>
391391
{
392-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
392+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
393393
{
394394
assemblyInfoFileUpdater.Update();
395395

@@ -415,7 +415,7 @@ public void ShouldReplaceAssemblyVersionInRelativePathWithVariables(string fileE
415415

416416
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
417417
{
418-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
418+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
419419
{
420420
assemblyInfoFileUpdater.Update();
421421

@@ -441,7 +441,7 @@ public void ShouldReplaceAssemblyVersionInRelativePathWithVariablesAndWhiteSpace
441441

442442
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.MajorMinor, (fileSystem, variables) =>
443443
{
444-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
444+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
445445
{
446446
assemblyInfoFileUpdater.Update();
447447

@@ -469,7 +469,7 @@ public void ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile
469469

470470
VerifyAssemblyInfoFile(assemblyFileContent, fileName, verify: (fileSystem, variables) =>
471471
{
472-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
472+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
473473
{
474474
assemblyInfoFileUpdater.Update();
475475

@@ -495,7 +495,7 @@ public void ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionF
495495

496496
VerifyAssemblyInfoFile(assemblyFileContent, fileName, AssemblyVersioningScheme.None, verify: (fileSystem, variables) =>
497497
{
498-
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdate(assemblyInfoFile, workingDir, variables, fileSystem, false))
498+
using (var assemblyInfoFileUpdater = new AssemblyInfoFileUpdater(assemblyInfoFile, workingDir, variables, fileSystem, false))
499499
{
500500
assemblyInfoFileUpdater.Update();
501501

src/GitVersionCore.Tests/GitVersionCore.Tests.csproj

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</ItemGroup>
8585
<ItemGroup>
8686
<Compile Include="AssemblyFileVersionTests.cs" />
87-
<Compile Include="AssemblyInfoFileUpdateTests.cs" />
87+
<Compile Include="AssemblyInfoFileUpdaterTests.cs" />
8888
<Compile Include="BuildServers\BuildServerBaseTests.cs" />
8989
<Compile Include="BuildServers\ContinuaCiTests.cs" />
9090
<Compile Include="BuildServers\EnvironmentVariableJenkinsTests.cs" />
@@ -169,25 +169,25 @@
169169
</ProjectReference>
170170
</ItemGroup>
171171
<ItemGroup>
172-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
173-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
174-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
175-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
176-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
177-
<Content Include="Approved\vb\AssemblyInfoFileUpdateTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
172+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
173+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
174+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
175+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
176+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
177+
<Content Include="Approved\vb\AssemblyInfoFileUpdaterTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
178178
<None Include="FodyWeavers.xml" />
179-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
180-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
181-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
182-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
183-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
184-
<Content Include="Approved\cs\AssemblyInfoFileUpdateTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
185-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
186-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
187-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
188-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
189-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
190-
<Content Include="Approved\fs\AssemblyInfoFileUpdateTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
179+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
180+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
181+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
182+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
183+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
184+
<Content Include="Approved\cs\AssemblyInfoFileUpdaterTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
185+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile.approved.txt" />
186+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
187+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFilesAtPathWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
188+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldCreateAssemblyInfoFileWhenNotExistsAndEnsureAssemblyInfo.approved.txt" />
189+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldNotAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFileWhenVersionSchemeIsNone.approved.txt" />
190+
<Content Include="Approved\fs\AssemblyInfoFileUpdaterTests.ShouldNotReplaceAssemblyVersionWhenVersionSchemeIsNone.approved.txt" />
191191
<Content Include="Approved\JsonVersionBuilderTests.Json.approved.txt" />
192192
<Content Include="Approved\VariableProviderTests.ProvidesVariablesInContinuousDeliveryModeForPreRelease.approved.txt" />
193193
<Content Include="Approved\VariableProviderTests.ProvidesVariablesInContinuousDeliveryModeForPreReleaseWithPadding.approved.txt" />

src/GitVersionCore/GitVersionCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
<Compile Include="SemanticVersionExtensions.cs" />
134134
<Compile Include="SemanticVersionFormatValues.cs" />
135135
<Compile Include="VerbosityLevel.cs" />
136-
<Compile Include="VersionAssemblyInfoResources\AssemblyInfoFileUpdate.cs" />
136+
<Compile Include="VersionAssemblyInfoResources\AssemblyInfoFileUpdater.cs" />
137137
<Compile Include="VersionCalculation\MainlineVersionCalculator.cs" />
138138
<Compile Include="VersionFilters\MinDateVersionFilter.cs" />
139139
<Compile Include="VersionFilters\IVersionFilter.cs" />

src/GitVersionCore/VersionAssemblyInfoResources/AssemblyInfoFileUpdate.cs renamed to src/GitVersionCore/VersionAssemblyInfoResources/AssemblyInfoFileUpdater.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace GitVersion
99
using GitVersion.VersionAssemblyInfoResources;
1010

1111
// TODO: Consolidate this with GitVersionTask.UpdateAssemblyInfo. @asbjornu
12-
class AssemblyInfoFileUpdate : IDisposable
12+
class AssemblyInfoFileUpdater : IDisposable
1313
{
1414
List<Action> restoreBackupTasks = new List<Action>();
1515
List<Action> cleanupBackupTasks = new List<Action>();
@@ -20,7 +20,7 @@ class AssemblyInfoFileUpdate : IDisposable
2020
IFileSystem fileSystem;
2121
bool ensureAssemblyInfo;
2222

23-
public AssemblyInfoFileUpdate(ISet<string> updateAssemblyInfoFileName, string workingDirectory, VersionVariables variables, IFileSystem fileSystem, bool ensureAssemblyInfo)
23+
public AssemblyInfoFileUpdater(ISet<string> updateAssemblyInfoFileName, string workingDirectory, VersionVariables variables, IFileSystem fileSystem, bool ensureAssemblyInfo)
2424
{
2525
this.updateAssemblyInfoFileName = updateAssemblyInfoFileName;
2626
this.workingDirectory = workingDirectory;

src/GitVersionExe/SpecifiedArgumentRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static void Run(Arguments arguments, IFileSystem fileSystem)
5656
}
5757
}
5858

59-
using (var assemblyInfoUpdater = new AssemblyInfoFileUpdate(arguments.UpdateAssemblyInfoFileName, targetPath, variables, fileSystem, arguments.EnsureAssemblyInfo))
59+
using (var assemblyInfoUpdater = new AssemblyInfoFileUpdater(arguments.UpdateAssemblyInfoFileName, targetPath, variables, fileSystem, arguments.EnsureAssemblyInfo))
6060
{
6161
if (arguments.UpdateAssemblyInfo)
6262
{

0 commit comments

Comments
 (0)