Skip to content

[release/v7.6] Update metadata.json to update the Latest attribute with a better name#26708

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26380-bd33c2d98
Jan 21, 2026
Merged

[release/v7.6] Update metadata.json to update the Latest attribute with a better name#26708
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26380-bd33c2d98

Conversation

@daxian-dbw
Copy link
Member

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).

@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jan 20, 2026
@daxian-dbw daxian-dbw requested a review from a team as a code owner January 20, 2026 22:36
Copilot AI review requested due to automatic review settings January 20, 2026 22:36
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jan 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR backports changes from #26380 that rename the metadata property "Latest" to "PublishToChannels" for better clarity in build/release tooling. It also updates version numbers in metadata.json for the v7.6 release branch.

Changes:

  • Renamed "Latest" property to "PublishToChannels" in metadata.json for both LTSRelease and StableRelease objects
  • Updated all pipeline template references to use the new property name
  • Updated version tags in metadata.json (StableReleaseTag, PreviewReleaseTag, ReleaseTag, LTSReleaseTag, NextReleaseTag)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tools/metadata.json Updated version numbers and renamed "Latest" property to "PublishToChannels" in LTSRelease and StableRelease objects
.pipelines/templates/release-upload-buildinfo.yml Updated property references from metadata.StableRelease.Latest and metadata.LTSRelease.Latest to use PublishToChannels
.pipelines/templates/release-prep-for-ev2.yml Updated property reference from metadata.LTSRelease.Latest to metadata.LTSRelease.PublishToChannels; includes minor whitespace cleanup
.pipelines/templates/channelSelection.yml Updated property references to use PublishToChannels and reorganized code to group variable assignments more logically

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

@daxian-dbw daxian-dbw merged commit c56b9f6 into PowerShell:release/v7.6 Jan 21, 2026
42 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6/26380-bd33c2d98 branch January 21, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments