[release/v7.5] Update the macos package name for preview releases to match the previous pattern#26820
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from Feb 14, 2026
Conversation
…ous pattern (PowerShell#26429) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports changes to macOS package naming for preview releases from the main branch to release/v7.5. The change removes the -preview prefix from package names, allowing preview versions to be identified solely by their version string (e.g., 7.6.0-preview.6) rather than by package name prefix. This restores the previous naming pattern and ensures consistency across release branches.
Changes:
- Removed logic that adds
-previewto package names for preview releases - Updated package name validation patterns to match the new naming convention
- Added clarifying comments about package naming strategy
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/packaging/packaging.psm1 | Removed conditional logic that added -preview prefix to package names, keeping only LTS prefix logic |
| test/packaging/macos/package-validation.tests.ps1 | Updated regex pattern and comments to reflect new naming convention without -preview prefix |
| .pipelines/templates/release-validate-packagenames.yml | Simplified regex pattern by removing deprecated osx.10.12 reference |
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 #26429 to release/v7.5
Triggered by @daxian-dbw on behalf of @TravisEz13
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
Updates macOS preview package naming to match previous pattern
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Fix validated in 7.4 and 7.6 releases. Ensures consistent package naming across releases.
Risk
REQUIRED: Check exactly one box.
Updates macOS package naming for preview releases to match historical pattern. Successfully backported to 7.4 and 7.6 branches.