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

@adityapatwardhan

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

AI review requested due to automatic review settings

December 5, 2025 17:58

daxian-dbw