[release/v7.6] Improve ADO package build and validation across platforms by TravisEz13 · Pull Request #26532 · PowerShell/PowerShell
Backport of #26398 to release/v7.6
Triggered by @TravisEz13 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)
Improves GitHub Actions workflow and Azure DevOps pipeline for macOS package builds by fixing artifact upload logic and standardizing package naming conventions.
Customer Impact
- Customer reported
- Found internally
Regression
REQUIRED: Check exactly one box.
- Yes
- No
This is not a regression.
Testing
Changes verified by running affected workflows. Confirmed artifact uploads work correctly with multiple pkg and tar.gz files using the new iteration loop. macOS package naming convention validated to use x64 instead of x86_64.
Risk
REQUIRED: Check exactly one box.
- High
- Medium
- Low
High risk as it modifies build infrastructure (Azure DevOps pipeline template and GitHub Actions workflow), but necessary to maintain build health on release branch. Changes have been validated in master for 2+ weeks without issues.
Merge Conflicts
One file had merge conflicts during cherry-pick (build.psm1): Resolved by accepting incoming changes which add -Verbose flags to package manager commands for better diagnostics on Mariner/Azure Linux systems.