File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
build/BenchmarkDotNet.Build Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public static class Repo
1010 public const string Owner = "dotnet" ;
1111 public const string Name = "BenchmarkDotNet" ;
1212 public const string HttpsUrlBase = $ "https://github.com/{ Owner } /{ Name } ";
13- public const string SshGitUrl = $ "git@github.com: { Owner } / { Name } .git";
13+ public const string HttpsGitUrl = $ "{ HttpsUrlBase } .git";
1414
1515 public const string ChangelogBranch = "docs-changelog" ;
1616 public const string DocsStableBranch = "docs-stable" ;
Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ private void EnsureSrcDirectoryExist(bool forceClone = false)
244244
245245 if ( ! context . DirectoryExists ( SrcDirectory ) )
246246 {
247- Log ( $ "Cloning branch '{ Repo . ChangelogBranch } ' from '{ Repo . SshGitUrl } ' to '{ SrcDirectory } '.") ;
248- context . GitRunner . Clone ( SrcDirectory , Repo . SshGitUrl , Repo . ChangelogBranch ) ;
247+ Log ( $ "Cloning branch '{ Repo . ChangelogBranch } ' from '{ Repo . HttpsGitUrl } ' to '{ SrcDirectory } '.") ;
248+ context . GitRunner . Clone ( SrcDirectory , Repo . HttpsGitUrl , Repo . ChangelogBranch ) ;
249249 Log ( $ "Clone completed: '{ Repo . ChangelogBranch } ' -> '{ SrcDirectory } '.") ;
250250 }
251251 else
You can’t perform that action at this time.
0 commit comments