From 643a26b7d344a425af5f3de366bb8ca384606d57 Mon Sep 17 00:00:00 2001 From: Bradley Grainger Date: Wed, 10 Jul 2024 21:25:57 -0700 Subject: [PATCH] Update LibGit2Sharp to v0.30.0. See https://github.com/libgit2/libgit2sharp/pull/2065 for details of the breaking changes. --- Directory.Packages.props | 2 +- src/Faithlife.Build/DotNetBuild.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1ca3b15..7c077d0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,7 +5,7 @@ - + diff --git a/src/Faithlife.Build/DotNetBuild.cs b/src/Faithlife.Build/DotNetBuild.cs index 2c40b07..d64cc4b 100644 --- a/src/Faithlife.Build/DotNetBuild.cs +++ b/src/Faithlife.Build/DotNetBuild.cs @@ -316,7 +316,7 @@ void DoPublish(bool canPublishDocs) sourceUrl = localRepositorySource ?? gitRepositoryUrl; Console.WriteLine($"Cloning documentation repository from {sourceUrl} to {docsCloneDirectory}"); Repository.Clone(sourceUrl: sourceUrl, workdirPath: docsCloneDirectory, - options: new CloneOptions { BranchName = docsGitBranchName, CredentialsProvider = ProvideDocsCredentials }); + options: new CloneOptions { BranchName = docsGitBranchName, FetchOptions = { CredentialsProvider = ProvideDocsCredentials } }); if (localRepositorySource is not null) { @@ -799,7 +799,7 @@ void PushTagsUsingLibGit2(DotNetPackageSettings? packageSettings, IEnumerable