From 3460789a2c701cc6839ddb9c1689090812d6e78a Mon Sep 17 00:00:00 2001 From: Dieter Lunn Date: Sat, 29 Jun 2024 19:42:34 -0500 Subject: [PATCH] chore: set git fetch depth to 0 in build --- build/Build.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 281d832..6b9b2de 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -25,7 +25,8 @@ OnPushBranches = [MasterBranch, ReleaseBranchPrefix + "/*"], InvokedTargets = [nameof(Test), nameof(Publish)], ImportSecrets = [nameof(NuGetKey)], - EnableGitHubToken = true)] + EnableGitHubToken = true, + FetchDepth = 0)] [GitHubActions( "continuous", GitHubActionsImage.WindowsLatest, @@ -35,7 +36,8 @@ OnPullRequestBranches = [DevelopBranch], PublishArtifacts = false, InvokedTargets = [nameof(Test), nameof(Publish)], - EnableGitHubToken = true)] + EnableGitHubToken = true, + FetchDepth = 0)] [AppVeyor( AppVeyorImage.UbuntuLatest, AppVeyorImage.VisualStudioLatest,