diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 177d50cc8..aa0f28a97 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -200,6 +200,7 @@ jobs: Import-Module $modulePath -DisableNameChecking $labels = Get-BcContainerImageLabels -imageName 'mcr.microsoft.com/businesscentral:ltsc2022' + Write-Host "Set latest generic tag version to $($labels.tag)" Set-Content -Path (Join-Path $path 'LatestGenericTagVersion.txt') -value $labels.tag $functionsToExport = (get-module -Name BcContainerHelper).ExportedFunctions.Keys | Sort-Object diff --git a/.github/workflows/Release.yaml b/.github/workflows/Release.yaml index ce04a004c..8d0e79896 100644 --- a/.github/workflows/Release.yaml +++ b/.github/workflows/Release.yaml @@ -60,6 +60,10 @@ jobs: $functionsToExport = (get-module -Name BcContainerHelper).ExportedFunctions.Keys | Sort-Object $aliasesToExport = (get-module -Name BcContainerHelper).ExportedAliases.Keys | Sort-Object + $labels = Get-BcContainerImageLabels -imageName 'mcr.microsoft.com/businesscentral:ltsc2022' + Write-Host "Set latest generic tag version to $($labels.tag)" + Set-Content -Path (Join-Path $path 'LatestGenericTagVersion.txt') -value $labels.tag + $releaseNotes = Get-Content -Path (Join-Path $path "ReleaseNotes.txt") $idx = $releaseNotes.IndexOf($version) if ($idx -lt 0) {