Skip to content

[release/v7.5] Improve ADO package build and validation across platforms#26814

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26398-e7bf5621b
Feb 13, 2026
Merged

[release/v7.5] Improve ADO package build and validation across platforms#26814
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26398-e7bf5621b

Conversation

@daxian-dbw
Copy link
Member

Backport of #26398 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)

Standardizes macOS package naming to use x64 instead of x86_64 and improves package validation tests

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Enhanced package validation tests verify correct naming conventions. Successfully tested in 7.4 and 7.6 releases. Added verbose logging for better diagnostics.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Improves package naming conventions and test coverage. Changes standardize macOS package naming and improve artifacts upload. Successfully backported to 7.4 and 7.6 branches.

@daxian-dbw daxian-dbw requested a review from a team as a code owner February 13, 2026 22:07
Copilot AI review requested due to automatic review settings February 13, 2026 22:07
@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 improves macOS package build and validation processes by standardizing package naming conventions, enhancing artifact upload logic, and adding comprehensive package validation tests. The changes are a backport from v7.6 to the v7.5 release branch, ensuring consistency across release versions.

Changes:

  • Standardized macOS package naming to use x64 instead of x86_64 for Intel architecture packages
  • Relocated and enhanced macOS package validation tests with new naming convention checks
  • Improved Azure DevOps pipeline artifact upload to handle multiple packages with verbose logging
  • Fixed Mariner (Azure Linux) package installation commands to avoid redundant subcommands

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/packaging/packaging.psm1 Converts x86_64 to x64 in macOS package filenames for compatibility; removed trailing whitespace
test/packaging/macos/package-validation.tests.ps1 Relocated from tools/packaging/releaseTests, added copyright header, new tests validating package naming conventions (must use x64, not x86_64)
build.psm1 Fixed Mariner package installation commands to avoid redundant 'install -y' subcommand; added verbose logging for /etc/os-release diagnostics
.pipelines/templates/mac-package-build.yml Enhanced artifact upload to iterate over multiple .pkg and .tar.gz files with verbose logging; removed trailing whitespace
.github/workflows/macos-ci.yml Updated test path to reflect relocation from tools/packaging/releaseTests/macOSPackage.tests.ps1 to test/packaging/macos/package-validation.tests.ps1

@daxian-dbw daxian-dbw merged commit 189d64b into PowerShell:release/v7.5 Feb 13, 2026
33 of 35 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.5/26398-e7bf5621b branch February 13, 2026 22:53
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.

4 participants