Update metadata.json to update the Latest attribute with a better name#26380
Merged
adityapatwardhan merged 3 commits intoPowerShell:masterfrom Jan 14, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
Latestproperty toPublishToChannelsinmetadata.jsonfor both LTS and Stable releases - Updated all pipeline template references from
.Latestto.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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
daxian-dbw
approved these changes
Nov 11, 2025
Contributor
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
daxian-dbw
approved these changes
Jan 14, 2026
daxian-dbw
pushed a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Jan 20, 2026
9 tasks
9 tasks
daxian-dbw
pushed a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
This pull request updates the way release metadata is handled in pipeline templates and the
metadata.jsonfile, standardizing the use of thePublishToChannelsproperty for both LTS and Stable releases. The most important changes are grouped below.Metadata property standardization:
LTSReleaseandStableReleaseobjects intools/metadata.jsonto replace theLatestproperty withPublishToChannels, correcting a previous typo inLTSRelease("PulishToChannels" → "PublishToChannels").Pipeline template updates:
.pipelines/templates/channelSelection.yml,.pipelines/templates/release-prep-for-ev2.yml, and.pipelines/templates/release-upload-buildinfo.ymlto use the newPublishToChannelsproperty from the release metadata instead of the oldLatestproperty for both LTS and Stable releases. [1] [2] [3]PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header