[release/v7.5] Improve ADO package build and validation across platforms#26814
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from Feb 13, 2026
Conversation
Contributor
There was a problem hiding this comment.
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
x64instead ofx86_64for 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 |
SeeminglyScience
approved these changes
Feb 13, 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 #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
Standardizes macOS package naming to use x64 instead of x86_64 and improves package validation tests
Customer Impact
Regression
REQUIRED: Check exactly one box.
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.
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.