From 503ad9547d006b3e39ee7027d0d8d9059a97547b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:54:47 +0000 Subject: [PATCH 1/9] Update dependency Microsoft.NET.Test.Sdk to 17.12.0 (#503) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index 9343862..8a92777 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -14,7 +14,7 @@ - + From 0ef52a3a21a0a6ae24332d94a638fb9adec97957 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 23:55:00 +0100 Subject: [PATCH 2/9] Update dependency xunit.runner.visualstudio to v3 (#506) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index 8a92777..b17d9a4 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -26,7 +26,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + From 520d8c1159b600679289d4fb59e13e469557c13f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:06:25 +0100 Subject: [PATCH 3/9] Update dependency dotnet-sdk to v9.0.101 (#504) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- global.json | 2 +- tests/frosting/net9.0/global.json | 2 +- tests/script-runner/net9.0/global.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/global.json b/global.json index 5110c03..913686c 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.100", + "version": "9.0.101", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/tests/frosting/net9.0/global.json b/tests/frosting/net9.0/global.json index 5110c03..913686c 100644 --- a/tests/frosting/net9.0/global.json +++ b/tests/frosting/net9.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.100", + "version": "9.0.101", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/tests/script-runner/net9.0/global.json b/tests/script-runner/net9.0/global.json index 5110c03..913686c 100644 --- a/tests/script-runner/net9.0/global.json +++ b/tests/script-runner/net9.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.100", + "version": "9.0.101", "rollForward": "latestFeature" } } \ No newline at end of file From 1c44c7288f83fc4134218b2ba89782139845c8a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 09:59:34 +0100 Subject: [PATCH 4/9] Update xunit-dotnet monorepo (#507) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index b17d9a4..32058ef 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -25,8 +25,8 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + From 2c6ccd73b3f486151937106c0b6ef6d8549d789b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:02:52 +0100 Subject: [PATCH 5/9] Update dotnet monorepo (#509) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pascal Berger --- .appveyor.yml | 4 ++-- global.json | 2 +- src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +- src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 2 +- tests/frosting/net8.0/global.json | 2 +- tests/frosting/net9.0/global.json | 2 +- tests/script-runner/net8.0/global.json | 2 +- tests/script-runner/net9.0/global.json | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 70d0f08..1fc88a2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,8 +11,8 @@ install: - ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null - ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR' - - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.404 -InstallDir $env:DOTNET_INSTALL_DIR' - - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.100 -InstallDir $env:DOTNET_INSTALL_DIR' + - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.405 -InstallDir $env:DOTNET_INSTALL_DIR' + - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.102 -InstallDir $env:DOTNET_INSTALL_DIR' - ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path" - ps: dotnet --info diff --git a/global.json b/global.json index 913686c..ace7946 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.101", + "version": "9.0.102", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index 32058ef..7faf63c 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -29,7 +29,7 @@ - + diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj index 6e53302..bc2110f 100644 --- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj +++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj @@ -40,7 +40,7 @@ - + diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json index db28d4c..e9c9ba5 100644 --- a/tests/frosting/net8.0/global.json +++ b/tests/frosting/net8.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "8.0.404", + "version": "8.0.405", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/tests/frosting/net9.0/global.json b/tests/frosting/net9.0/global.json index 913686c..ace7946 100644 --- a/tests/frosting/net9.0/global.json +++ b/tests/frosting/net9.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.101", + "version": "9.0.102", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json index db28d4c..e9c9ba5 100644 --- a/tests/script-runner/net8.0/global.json +++ b/tests/script-runner/net8.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "8.0.404", + "version": "8.0.405", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/tests/script-runner/net9.0/global.json b/tests/script-runner/net9.0/global.json index 913686c..ace7946 100644 --- a/tests/script-runner/net9.0/global.json +++ b/tests/script-runner/net9.0/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.101", + "version": "9.0.102", "rollForward": "latestFeature" } } \ No newline at end of file From 45e6babee8a410a94f19726c96a80eb5f1c3e091 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 31 Jan 2025 14:37:44 +0100 Subject: [PATCH 6/9] Build on macOS 13 (#514) --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bfa8f67..a0d1df9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,7 +42,7 @@ jobs: - job: Build_macOS displayName: Build & Test macOS pool: - vmImage: 'macOS-12' + vmImage: 'macOS-13' steps: # .NET 5 required for GitVersion - task: UseDotNet@2 From 5a75dbad7ffecbcbf02883b78f27410d9ea40cd3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:53:15 +0000 Subject: [PATCH 7/9] Update dependency Shouldly to 4.3.0 (#510) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index 7faf63c..56f5d2e 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -20,7 +20,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From a466b47fae46f01b26f63294dc7e452051d0e9b6 Mon Sep 17 00:00:00 2001 From: Sandro <16229645+rothsandro@users.noreply.github.com> Date: Fri, 31 Jan 2025 15:30:55 +0100 Subject: [PATCH 8/9] Fix GetModifiedFiles to request all changes (#513) --- src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs | 2 +- .../Fakes/FakeNullForMethodsGitClientFactory.cs | 2 +- .../Repos/PullRequest/AzureDevOpsPullRequest.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs index 541ee13..090f32e 100644 --- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs +++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs @@ -130,7 +130,7 @@ protected override Mock Setup(Mock m) It.IsAny(), It.IsAny(), true, - null, + int.MaxValue, null, It.IsAny(), It.IsAny(), diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs index 46ad155..055e310 100644 --- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs +++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs @@ -15,7 +15,7 @@ protected override Mock Setup(Mock m) m.Setup(arg => arg.CreatePullRequestStatusAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())) .ReturnsAsync(() => null); - m.Setup(arg => arg.GetCommitDiffsAsync(It.IsAny(), It.IsAny(), true, null, null, It.IsAny(), It.IsAny(), null, CancellationToken.None)) + m.Setup(arg => arg.GetCommitDiffsAsync(It.IsAny(), It.IsAny(), true, int.MaxValue, null, It.IsAny(), It.IsAny(), null, CancellationToken.None)) .ReturnsAsync(() => new GitCommitDiffs { ChangeCounts = [], Changes = [] }); m.Setup(arg => arg.UpdateThreadAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), null, CancellationToken.None)) diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs index f03847f..6a45c92 100644 --- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs +++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs @@ -407,7 +407,7 @@ public IEnumerable GetModifiedFiles() this.ProjectName, this.RepositoryId, true, // bool? diffCommonCommit - null, // int? top + int.MaxValue, // int? top null, // int? skip baseVersionDescriptor, targetVersionDescriptor) From 01a20ba68aefdc1af6618979f94531bbba58569a Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 31 Jan 2025 15:35:06 +0100 Subject: [PATCH 9/9] Update release notes link --- nuspec/nuget/Cake.AzureDevOps.nuspec | 2 +- nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nuspec/nuget/Cake.AzureDevOps.nuspec b/nuspec/nuget/Cake.AzureDevOps.nuspec index 61f1f97..f8153f3 100644 --- a/nuspec/nuget/Cake.AzureDevOps.nuspec +++ b/nuspec/nuget/Cake.AzureDevOps.nuspec @@ -21,7 +21,7 @@ For addin compatible with Cake Frosting see Cake.Frosting.AzureDevOps. Copyright © Pascal Berger cake cake-addin azure-devops azure-devops-server - https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0 + https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.1 diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec index 1ee56b1..9c27c1c 100644 --- a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec +++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec @@ -21,7 +21,7 @@ For addin compatible with Cake Script Runners see Cake.AzureDevOps. Copyright © Pascal Berger cake cake-addin azure-devops azure-devops-server - https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0 + https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.1