[release/v7.5.6] Create Linux LTS deb/rpm packages for LTS releases by adityapatwardhan · Pull Request #27163 · PowerShell/PowerShell · GitHub
Skip to content

[release/v7.5.6] Create Linux LTS deb/rpm packages for LTS releases#27163

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.5.6from
adityapatwardhan:backport/release/v7.5.6/27049-e053a339a
Apr 3, 2026
Merged

[release/v7.5.6] Create Linux LTS deb/rpm packages for LTS releases#27163
adityapatwardhan merged 1 commit intoPowerShell:release/v7.5.6from
adityapatwardhan:backport/release/v7.5.6/27049-e053a339a

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27049 to release/v7.5.6

Triggered by @adityapatwardhan on behalf of @daxian-dbw

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Required tooling change: Adds Linux LTS package (deb/rpm) support to the release branch's build infrastructure. This ensures v7.5.x LTS releases can be distributed as proper deb/rpm packages, which is critical for enterprise deployments on Linux systems.

Customer Impact

  • Customer reported
  • Found internally

Linux LTS releases require properly packaged deb/rpm distributions for user installation.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Backport verified by successful cherry-pick with no conflicts. Package generation for LTS releases was validated on v7.6 release branch. Verification includes: 1) CI pipeline confirmation on release branch, 2) Review of packaging configuration changes applied correctly, 3) Validation that LTS release tags trigger proper deb/rpm package builds.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk: This adds Linux LTS deb/rpm package support that was already validated in v7.6. The change is scoped to packaging configuration with minimal impact to core functionality. Verified by successful CI on v7.6 releases.

@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 2, 2026 21:27
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 21:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Backports Linux packaging template changes to generate LTS-flavored packages when a release is marked as LTS (and not a rebuild branch), enabling creation of LTS deb/rpm artifacts on the release/v7.5.6 branch.

Changes:

  • Adds an additional Start-PSPackage invocation with -LTS when $metadata.LTSRelease.Package is true.
  • Moves the “LTS Release” verbose logging closer to the packaging execution.

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.
@adityapatwardhan adityapatwardhan merged commit 33e0b44 into PowerShell:release/v7.5.6 Apr 3, 2026
39 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.5.6/27049-e053a339a branch April 3, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants