[release/v7.6] Update metadata.json to update the Latest attribute with a better name by daxian-dbw · Pull Request #26708 · PowerShell/PowerShell

Backport of #26380 to release/v7.6

Triggered by @daxian-dbw on behalf of @adityapatwardhan

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)

Customer Impact

  • Customer reported
  • Found internally

Build and release pipeline improvement. Updates metadata property naming from 'Latest' to 'PublishToChannels' for better clarity. This only affects internal build tooling.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

The fix has been tested in the original PR. Changes can be verified by running the release pipelines and confirming they correctly read the 'PublishToChannels' property from metadata.json. All pipeline template references have been updated to use the new property name.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

The changes standardize metadata property naming in build/release pipelines by renaming 'Latest' to 'PublishToChannels'. All references in pipeline templates have been updated consistently. This is internal tooling only and doesn't affect product code.

Merge Conflicts

Merge conflict in tools/metadata.json due to version number differences between branches. Resolved by accepting the cherry-picked changes (both version updates and property rename).