diff --git a/.appveyor.yml b/.appveyor.yml index 70d0f080..1fc88a2e 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/azure-pipelines.yml b/azure-pipelines.yml index bfa8f676..a0d1df9f 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 diff --git a/global.json b/global.json index 5110c037..ace79465 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": true, - "version": "9.0.100", + "version": "9.0.102", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/nuspec/nuget/Cake.AzureDevOps.nuspec b/nuspec/nuget/Cake.AzureDevOps.nuspec index 61f1f97f..f8153f3d 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 1ee56b12..9c27c1cd 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 diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj index 93438623..56f5d2ec 100644 --- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj +++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj @@ -14,22 +14,22 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - + diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs index 541ee133..090f32e3 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 46ad155f..055e310a 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/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj index 6e53302c..bc2110f3 100644 --- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj +++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj @@ -40,7 +40,7 @@ - + diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs index f03847fb..6a45c927 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) diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json index db28d4c7..e9c9ba5a 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 5110c037..ace79465 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.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 db28d4c7..e9c9ba5a 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 5110c037..ace79465 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.102", "rollForward": "latestFeature" } } \ No newline at end of file