Skip to content

[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
daxian-dbw:backport/release/v7.5/26429-4aa65a77b
Feb 14, 2026
Merged

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

Conversation

@daxian-dbw
Copy link
Member

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

  • Required tooling change
  • Optional tooling change (include reasoning)

Updates macOS preview package naming to match previous pattern

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

Updates macOS package naming for preview releases to match historical pattern. Successfully backported to 7.4 and 7.6 branches.

…ous pattern (PowerShell#26429)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 13, 2026 23:22
@daxian-dbw daxian-dbw requested a review from a team as a code owner February 13, 2026 23:22
@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 13, 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

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 -preview to 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

@daxian-dbw daxian-dbw merged commit c4ec0f4 into PowerShell:release/v7.5 Feb 14, 2026
18 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.5/26429-4aa65a77b branch February 14, 2026 00:25
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