[release/v7.6] Correct the package name for .deb and .rpm packages#26884
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.6from Feb 23, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]> Co-authored-by: Travis Plunk <[email protected]>
Contributor
There was a problem hiding this comment.
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-IsPreviewand selectpowershellvspowershell-previewvspowershell-ltsappropriately 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
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Customer Impact
Ensures that users installing .deb and .rpm packages get correctly named packages.
Regression
REQUIRED: Check exactly one box.
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.
This change only corrects package naming for .deb and .rpm packages. It does not modify functionality or runtime behavior.