Skip to content

Commit 31271cc

Browse files
committed
(build) Always run GitVersion
1 parent 9301a29 commit 31271cc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

setup.cake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
Environment.SetVariableNames();
44

5-
BuildParameters.SetParameters(context: Context,
5+
BuildParameters.SetParameters(context: Context,
66
buildSystem: BuildSystem,
77
sourceDirectoryPath: "./Source",
88
title: "GitReleaseManager",
99
repositoryOwner: "GitTools",
1010
repositoryName: "GitReleaseManager",
1111
appVeyorAccountName: "GitTools",
12-
testFilePattern: "/**/*.Tests.dll");
12+
testFilePattern: "/**/*.Tests.dll",
13+
shouldRunGitVersion: true);
1314

1415
BuildParameters.PrintParameters(Context);
1516

1617
ToolSettings.SetToolSettings(context: Context,
17-
dupFinderExcludePattern: new string[] {
18+
dupFinderExcludePattern: new string[] {
1819
BuildParameters.RootDirectoryPath + "/Source/GitReleaseManager.Tests/*.cs" },
1920
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Octokit]* -[YamlDotNet]*",
2021
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
2122
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
22-
Build.Run();
23+
Build.Run();

0 commit comments

Comments
 (0)