Skip to content

Commit d1b43fe

Browse files
Ruben Mamoasbjornu
Ruben Mamo
authored andcommitted
Fixed issue with Dynamic Repostitories not working
1 parent 98f8b97 commit d1b43fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitVersionCore/ExecuteCore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public VersionVariables ExecuteGitVersion(string targetUrl, string dynamicReposi
2727
var buildServer = applicableBuildServers.FirstOrDefault();
2828
var fetch = noFetch || (buildServer != null && buildServer.PreventFetch());
2929
var gitPreparer = new GitPreparer(targetUrl, dynamicRepositoryLocation, authentication, fetch, workingDirectory);
30+
gitPreparer.Initialise(false, targetBranch);
3031
var dotGitDirectory = gitPreparer.GetDotGitDirectory();
3132
var projectRoot = gitPreparer.GetProjectRootDirectory();
3233

0 commit comments

Comments
 (0)