[release/v7.6] Update the macos package name for preview releases to match the previous pattern by adityapatwardhan · Pull Request #26562 · PowerShell/PowerShell

@TravisEz13 @adityapatwardhan

…ous pattern (PowerShell#26429)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

AI review requested due to automatic review settings

December 2, 2025 23:20

daxian-dbw

adityapatwardhan added a commit to adityapatwardhan/PowerShell that referenced this pull request

Dec 5, 2025
Update test/packaging/macos/package-validation.tests.ps1 with correct regex pattern
for macOS package naming validation. This file was missed in the original backport
PR PowerShell#26562.

Changes:
- Remove (-preview|-lts)? pattern (no more -preview in names)
- Update to (lts-)? - only LTS gets prefix
- Update comments to reflect new naming convention
- Match validation used in release-validate-packagenames.yml