Update metadata.json to update the Latest attribute with a better name by adityapatwardhan · Pull Request #26380 · PowerShell/PowerShell

Pull Request Overview

This pull request renames the Latest property to PublishToChannels in the release metadata configuration and updates all pipeline templates that reference this property. The change improves clarity about the property's purpose.

  • Renamed Latest property to PublishToChannels in metadata.json for both LTS and Stable releases
  • Updated all pipeline template references from .Latest to .PublishToChannels
  • Removed trailing whitespace in several YAML files

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
tools/metadata.json Renamed property from Latest to PublishToChannels for both release types
.pipelines/templates/release-upload-buildinfo.yml Updated to access .PublishToChannels instead of .Latest for both releases
.pipelines/templates/release-prep-for-ev2.yml Updated LTS release reference to use .PublishToChannels and removed trailing whitespace
.pipelines/templates/channelSelection.yml Updated both LTS and Stable release references to use .PublishToChannels

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.