Skip to content

Commit 2556933

Browse files
committed
(build) Switch to using Chocolatey specific build
There is now a much reduced version of the build for NuGet.Client, which only builds the components that are requried for Chocolatey. This was necessary since the build started failing both internally and on GitHub Actions, when attempting to build the VIsual Studio extension and associated projects. Since these projects are not needed for the Chocolatey integration, they have been removed from the build. The end result is that the build is much quicker, and builds both locally and on CI.
1 parent 7a5fb96 commit 2556933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update-nuget-client.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ if ($build -or !(Test-Path "$sourceLocation\artifacts")) {
2727
"Configuring NuGet.Client repository dependencies"
2828
#.\configure.ps1
2929

30-
"Calling .\build.ps1 -CI -SkipUnitTest -Configuration Debug -BuildNumber $buildNumber -ReleaseLabel 'zlocal'"
31-
.\build.ps1 -CI -SkipUnitTest -Configuration Debug -BuildNumber $buildNumber -ReleaseLabel 'zlocal'
30+
"Calling .\build.ps1 -CI -SkipUnitTest -ChocolateyBuild -Configuration Debug -BuildNumber $buildNumber -ReleaseLabel 'zlocal'"
31+
.\build.ps1 -CI -SkipUnitTest -ChocolateyBuild -Configuration Debug -BuildNumber $buildNumber -ReleaseLabel 'zlocal'
3232
}
3333

3434
Get-ChildItem "$thisLocation\src\packages\Chocolatey.NuGet.*" | ForEach-Object {

0 commit comments

Comments
 (0)