Skip to content

[release/v7.6] Correct the package name for .deb and .rpm packages#26884

Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26877-7cdcd5893
Feb 23, 2026
Merged

[release/v7.6] Correct the package name for .deb and .rpm packages#26884
TravisEz13 merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26877-7cdcd5893

Conversation

@daxian-dbw
Copy link
Member

Backport of #26877 to release/v7.6

Triggered by @daxian-dbw 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)

Customer Impact

  • Customer reported
  • Found internally

Ensures that users installing .deb and .rpm packages get correctly named packages.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Backport can be validated by building .deb and .rpm packages and verifying the package names are correct.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This change only corrects package naming for .deb and .rpm packages. It does not modify functionality or runtime behavior.

Copilot AI review requested due to automatic review settings February 23, 2026 22:06
@daxian-dbw daxian-dbw requested a review from a team as a code owner February 23, 2026 22:06
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 23, 2026
Copy link
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

Backport to release/v7.6 that corrects the base package name used for Linux .deb/.rpm artifacts so preview/LTS channels match expected package naming conventions (and updates macOS CI gating for packaging runs).

Changes:

  • Compute preview status via Test-IsPreview and select powershell vs powershell-preview vs powershell-lts appropriately for Unix packages.
  • Update macOS CI change-detection outputs and gate the macOS packaging job on packagingChanged.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tools/packaging/packaging.psm1 Adjusts Unix package base-name selection to correctly emit powershell-preview/powershell-lts where applicable.
.github/workflows/macos-ci.yml Adds packagingChanged output and changes the macOS packaging job condition to run only when packaging-related files changed.

@TravisEz13 TravisEz13 merged commit 0a88d49 into PowerShell:release/v7.6 Feb 23, 2026
43 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6/26877-7cdcd5893 branch February 24, 2026 18:30
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