Skip to content

Commit

Permalink
(chocolatey#274) Update Dependencies For CCM 0.13.0
Browse files Browse the repository at this point in the history
Update the .Net Core dependencies of CCM to target .Net core V8 packages
  • Loading branch information
ryanrichter94 authored and JPRuskin committed Sep 23, 2024
1 parent 6f4373d commit 1ff94ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Start-C4bCcmSetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ process {
$chocoArgs = @('install', 'IIS-ApplicationInit', "--source='windowsfeatures'" ,'--no-progress', '-y')
& choco @chocoArgs -ValidExitCodes 0, 3010

$chocoArgs = @('install', 'dotnet-aspnetcoremodule-v2', "--version='$($Packages.Where{$_.Name -eq 'dotnet-aspnetcoremodule-v2'}.Version)'", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-web V 0.12.0"', '-y')
$chocoArgs = @('install', 'dotnet-aspnetcoremodule-v2', "--version='$($Packages.Where{$_.Name -eq 'dotnet-aspnetcoremodule-v2'}.Version)'", '--no-progress', '-y')
& choco @chocoArgs

$chocoArgs = @('install', 'dotnet-6.0-runtime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-6.0-runtime'}.Version)", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-database V 0.12.0"', '-y')
$chocoArgs = @('install', 'dotnet-8.0-runtime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-8.0-runtime'}.Version)", '--no-progress', '-y')
& choco @chocoArgs

$chocoArgs = @('install', 'dotnet-6.0-aspnetruntime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-6.0-aspnetruntime'}.Version)", '--no-progress', '--pin', '--pin-reason="Latest version compatible with chocolatey-management-database V 0.12.0"', '-y')
$chocoArgs = @('install', 'dotnet-8.0-aspnetruntime', "--version=$($Packages.Where{$_.Name -eq 'dotnet-8.0-aspnetruntime'}.Version)", '--no-progress', '-y')
& choco @chocoArgs

Write-Host "Creating Chocolatey Central Management Database"
Expand Down
6 changes: 3 additions & 3 deletions files/chocolatey.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
{ "name": "chocolatey" },
{ "name": "chocolateygui.extension" },
{ "name": "chocolateygui" },
{ "name": "dotnet-6.0-aspnetruntime", "version": "6.0.31" },
{ "name": "dotnet-6.0-runtime", "version": "6.0.31" },
{ "name": "dotnet-aspnetcoremodule-v2", "version": "16.0.24141" },
{ "name": "dotnet-8.0-aspnetruntime", "version": "8.0.8" },
{ "name": "dotnet-8.0-runtime", "version": "8.0.8" },
{ "name": "dotnet-aspnetcoremodule-v2", "version": "18.0.24201" },
{ "name": "dotnetfx" },
{ "name": "jenkins" },
{ "name": "KB2919355", "internalize": false },
Expand Down
4 changes: 2 additions & 2 deletions tests/packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ $JointPackages = @(
)
$ServerOnlyPackages = @(
@{Name = 'chocolatey-windowsupdate.extension' }
@{Name = 'dotnet-6.0-aspnetruntime' }
@{Name = 'dotnet-6.0-runtime' }
@{Name = 'dotnet-8.0-aspnetruntime' }
@{Name = 'dotnet-8.0-runtime' }
@{Name = 'dotnet-aspnetcoremodule-v2' }
@{Name = 'jenkins' }
@{Name = 'KB2999226' }
Expand Down

0 comments on commit 1ff94ce

Please sign in to comment.