[release/v7.4] Update the macos package name for preview releases to match the previous pattern#26435
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from Feb 10, 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 from #26429 to remove the "powershell-preview" prefix from macOS package names for preview releases. Preview releases are now identified by the version string itself (e.g., "7.6.0-preview.6") rather than a package name prefix, aligning with naming patterns used in other release types.
Key Changes:
- Removes "powershell-preview" package naming prefix; preview versions now identified by version string only
- Updates regex validation patterns to match the new naming convention
- Removes legacy macOS 10.12 pattern from validation
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tools/packaging/packaging.psm1 | Removes preview-specific package naming logic, but incorrectly removes $IsPreview variable still needed for installation paths |
| test/packaging/macos/package-validation.tests.ps1 | Updates validation regex pattern and example comments to reflect new naming without "preview" prefix |
| .pipelines/templates/release-validate-packagenames.yml | Updates package name validation regex and removes deprecated macOS 10.12 pattern |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
jshigetomi
approved these changes
Feb 10, 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 #26429 to release/v7.4
Triggered by @TravisEz13 on behalf of @TravisEz13
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
Tooling Impact
This backports a fix for macOS package naming for preview releases to ensure consistent naming patterns across releases.
Customer Impact
Regression
This is a packaging improvement to maintain consistent naming patterns, not fixing a regression.
Testing
Original PR was tested through CI/CD pipeline validation. Backport verified by:
Risk
Medium risk as it affects packaging infrastructure, but changes are well-scoped to macOS preview package naming only. Not taking this change would create inconsistency in package naming patterns between versions.