Skip to content

[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
TravisEz13:backport/release/v7.4/26429-4aa65a77b
Feb 10, 2026
Merged

[release/v7.4] Update the macos package name for preview releases to match the previous pattern#26435
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26429-4aa65a77b

Conversation

@TravisEz13
Copy link
Member

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

  • Required tooling change

This backports a fix for macOS package naming for preview releases to ensure consistent naming patterns across releases.

Customer Impact

  • Customer reported
  • Found internally

Regression

  • Yes
  • No

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:

  1. Cherry-pick applied cleanly without conflicts
  2. Changes are isolated to packaging configuration
  3. No functional code changes that require additional testing

Risk

  • High
  • Medium
  • Low

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.

…ous pattern (PowerShell#26429)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@TravisEz13 TravisEz13 requested a review from a team as a code owner November 12, 2025 19:44
Copilot AI review requested due to automatic review settings November 12, 2025 19:44
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 12, 2025
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

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Nov 20, 2025
@microsoft-github-policy-service
Copy link
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@TravisEz13 TravisEz13 merged commit ed9733e into PowerShell:release/v7.4 Feb 10, 2026
44 of 45 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.4/26429-4aa65a77b branch February 10, 2026 17:24
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 Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants