Skip to content

Commit 751a4d2

Browse files
authored
bump version to 6.0.8 (#3396)
Co-authored-by: freddydk <[email protected]>
1 parent 11d50a0 commit 751a4d2

5 files changed

+11
-8
lines changed

BcContainerHelper.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if ($isMacOS) {
2020
elseif ($isLinux) {
2121
Write-Host "Running on Linux, PowerShell $($PSVersionTable.PSVersion)"
2222
}
23-
elseif ($isPsCore) {
23+
else {
2424
Write-Host "Running on Windows, PowerShell $($PSVersionTable.PSVersion)"
2525
}
2626

ContainerHandling/New-NavContainer.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -1735,10 +1735,10 @@ Get-NavServerUser -serverInstance $ServerInstance -tenant default |? LicenseType
17351735
. (Join-Path $runPath $MyInvocation.MyCommand.Name)
17361736
') | Set-Content -Path "$myfolder\HelperFunctions.ps1"
17371737
}
1738-
Write-Host "Patching container to install dotnet 6.0.27"
1738+
Write-Host "Patching container to install dotnet 6"
17391739
Download-File -source "https://download.visualstudio.microsoft.com/download/pr/04389c24-12a9-4e0e-8498-31989f30bb22/141aef28265938153eefad0f2398a73b/dotnet-hosting-6.0.27-win.exe" -destinationFile (Join-Path $myFolder "dotnet6-win.exe")
17401740
('
1741-
if (Test-Path "c:\run\my\dotnet6-win.exe") { Write-Host "Installing dotnet 6.0.27"; start-process -Wait -FilePath "c:\run\my\dotnet6-win.exe" -ArgumentList /quiet; Remove-Item "c:\run\my\dotnet6-win.exe" -Force }
1741+
if (Test-Path "c:\run\my\dotnet6-win.exe") { Write-Host "Installing dotnet 6"; start-process -Wait -FilePath "c:\run\my\dotnet6-win.exe" -ArgumentList /quiet; Remove-Item "c:\run\my\dotnet6-win.exe" -Force }
17421742
') | Add-Content -Path "$myfolder\HelperFunctions.ps1"
17431743
}
17441744

@@ -1748,11 +1748,11 @@ if (Test-Path "c:\run\my\dotnet6-win.exe") { Write-Host "Installing dotnet 6.0.2
17481748
. (Join-Path $runPath $MyInvocation.MyCommand.Name)
17491749
') | Set-Content -Path "$myfolder\HelperFunctions.ps1"
17501750
}
1751-
Write-Host "Patching container to install dotnet 8.0.2 and PowerShell 7.4.1"
1752-
Download-File -source "https://download.visualstudio.microsoft.com/download/pr/98ff0a08-a283-428f-8e54-19841d97154c/8c7d5f9600eadf264f04c82c813b7aab/dotnet-hosting-8.0.2-win.exe" -destinationFile (Join-Path $myFolder "dotnet-win8.exe")
1751+
Write-Host "Patching container to install dotnet 8 and PowerShell 7.4.1"
1752+
Download-File -source "https://download.visualstudio.microsoft.com/download/pr/98ff0a08-a283-428f-8e54-19841d97154c/8c7d5f9600eadf264f04c82c813b7aab/dotnet-hosting-8.0.2-win.exe" -destinationFile (Join-Path $myFolder "dotnet8-win.exe")
17531753
Download-File -source "https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/PowerShell-7.4.1-win-x64.msi" -destinationFile (Join-Path $myFolder "powershell-7.4.1-win-x64.msi")
17541754
('
1755-
if (Test-Path "c:\run\my\dotnet-win8.exe") { Write-Host "Installing dotnet 8.0.0"; start-process -Wait -FilePath "c:\run\my\dotnet-win8.exe" -ArgumentList /quiet; Remove-Item "c:\run\my\dotnet-win8.exe" -Force }
1755+
if (Test-Path "c:\run\my\dotnet8-win.exe") { Write-Host "Installing dotnet 8"; start-process -Wait -FilePath "c:\run\my\dotnet8-win.exe" -ArgumentList /quiet; Remove-Item "c:\run\my\dotnet8-win.exe" -Force }
17561756
if (Test-Path "c:\run\my\powershell-7.4.1-win-x64.msi") { Write-Host "Installing PowerShell 7.4.1"; start-process -Wait -FilePath "c:\run\my\powershell-7.4.1-win-x64.msi" -ArgumentList /quiet; Remove-Item "c:\run\my\powershell-7.4.1-win-x64.msi" -Force }
17571757
') | Add-Content -Path "$myfolder\HelperFunctions.ps1"
17581758
}

NuGet/Publish-BcNuGetPackageToContainer.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Function Publish-BcNuGetPackageToContainer {
8181
}
8282
}
8383
else {
84-
$installedApps = @(Get-BcContainerAppInfo -containerName $containerName -installedOnly | ForEach-Object { @{ "Publisher" = $_.Publisher; "Name" = $_.Name; "Id" = $_.AppId.value.ToString(); "Version" = $_.Version } } )
84+
$installedApps = @(Get-BcContainerAppInfo -containerName $containerName -installedOnly | ForEach-Object { @{ "Publisher" = $_.Publisher; "Name" = $_.Name; "Id" = "$($_.AppId)"; "Version" = $_.Version } } )
8585
$installedPlatform = [System.Version](Get-BcContainerPlatformVersion -containerOrImageName $containerName)
8686
$installedCountry = (Get-BcContainerCountry -containerOrImageName $containerName).ToLowerInvariant()
8787
}

ReleaseNotes.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
6.0.8
2+
Fix error where Publish-BcNuGetPackageToContainer doesn't work with BC 24
3+
14
6.0.7
25
Issue 3347 Download-BcNuGetPackageToFolder to support package description for app name if title is not specified
36
Support dependency version templates on NuGet packages

Version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.7-dev
1+
6.0.8-dev

0 commit comments

Comments
 (0)