Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .pipelines/templates/linux-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ jobs:

Write-Verbose -Verbose "LTS: $LTS"

if ($LTS) {
Write-Verbose -Message "LTS Release: $LTS"
}

if (-not (Test-Path $(ob_outputDirectory))) {
New-Item -ItemType Directory -Path $(ob_outputDirectory) -Force
}
Expand All @@ -168,6 +164,11 @@ jobs:

Start-PSPackage -Type $packageType -ReleaseTag $(ReleaseTagVar) -PackageBinPath $signedFilesPath

if ($LTS) {
Write-Verbose -Message "LTS Release: $LTS" -Verbose
Start-PSPackage -Type $packageType -ReleaseTag $(ReleaseTagVar) -PackageBinPath $signedFilesPath -LTS
}
Comment on lines 165 to +170
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new LTS block will run for any packageType that uses this template. In this repo, linux-package-build.yml is invoked for many non-deb/rpm types (tar, fxdependent, min-size, etc.) via .pipelines/PowerShell-Packages-Official.yml, so LTS builds will now produce additional LTS variants for all those types as well. If the intent is only to add LTS deb/rpm support (per PR title/description), gate this block to deb/rpm package types (or split the template) so tar/fxdependent jobs don’t unexpectedly double their outputs/work.

Copilot uses AI. Check for mistakes.

$vstsCommandString = "vso[task.setvariable variable=PackageFilter]$pkgFilter"
Write-Host ("sending " + $vstsCommandString)
Write-Host "##$vstsCommandString"
Expand Down
Loading