@@ -14,14 +14,14 @@ public static Config ApplyDefaults(this Config config)
14
14
return config ;
15
15
}
16
16
17
- public static VersionVariables GetVersion ( this RepositoryFixtureBase fixture , Config configuration = null , IRepository repository = null , string commitId = null , bool isForTrackedBranchOnly = true , string targetBranch = null )
17
+ public static VersionVariables GetVersion ( this RepositoryFixtureBase fixture , Config configuration = null , IRepository repository = null , string commitId = null , bool onlyTrackedBranches = true , string targetBranch = null )
18
18
{
19
19
if ( configuration == null )
20
20
{
21
21
configuration = new Config ( ) ;
22
22
ConfigurationProvider . ApplyDefaultsTo ( configuration ) ;
23
23
}
24
- var gitVersionContext = new GitVersionContext ( repository ?? fixture . Repository , targetBranch , configuration , isForTrackedBranchOnly , commitId ) ;
24
+ var gitVersionContext = new GitVersionContext ( repository ?? fixture . Repository , targetBranch , configuration , onlyTrackedBranches , commitId ) ;
25
25
var executeGitVersion = ExecuteGitVersion ( gitVersionContext ) ;
26
26
var variables = VariableProvider . GetVariablesFor ( executeGitVersion , gitVersionContext . Configuration , gitVersionContext . IsCurrentCommitTagged ) ;
27
27
try
@@ -36,19 +36,19 @@ public static VersionVariables GetVersion(this RepositoryFixtureBase fixture, Co
36
36
}
37
37
}
38
38
39
- public static void AssertFullSemver ( this RepositoryFixtureBase fixture , string fullSemver , IRepository repository = null , string commitId = null , bool isForTrackedBranchOnly = true , string targetBranch = null )
39
+ public static void AssertFullSemver ( this RepositoryFixtureBase fixture , string fullSemver , IRepository repository = null , string commitId = null , bool onlyTrackedBranches = true , string targetBranch = null )
40
40
{
41
- fixture . AssertFullSemver ( new Config ( ) , fullSemver , repository , commitId , isForTrackedBranchOnly , targetBranch ) ;
41
+ fixture . AssertFullSemver ( new Config ( ) , fullSemver , repository , commitId , onlyTrackedBranches , targetBranch ) ;
42
42
}
43
43
44
- public static void AssertFullSemver ( this RepositoryFixtureBase fixture , Config configuration , string fullSemver , IRepository repository = null , string commitId = null , bool isForTrackedBranchOnly = true , string targetBranch = null )
44
+ public static void AssertFullSemver ( this RepositoryFixtureBase fixture , Config configuration , string fullSemver , IRepository repository = null , string commitId = null , bool onlyTrackedBranches = true , string targetBranch = null )
45
45
{
46
46
ConfigurationProvider . ApplyDefaultsTo ( configuration ) ;
47
47
Console . WriteLine ( "---------" ) ;
48
48
49
49
try
50
50
{
51
- var variables = fixture . GetVersion ( configuration , repository , commitId , isForTrackedBranchOnly , targetBranch ) ;
51
+ var variables = fixture . GetVersion ( configuration , repository , commitId , onlyTrackedBranches , targetBranch ) ;
52
52
variables . FullSemVer . ShouldBe ( fullSemver ) ;
53
53
}
54
54
catch ( Exception )
0 commit comments