Skip to content

Comments

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

Open
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26380-bd33c2d98
Open

[release/v7.4] Update metadata.json to update the Latest attribute with a better name#26872
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26380-bd33c2d98

Conversation

@TravisEz13
Copy link
Member

Backport of #26380 to release/v7.4

Triggered by @TravisEz13 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)

Pipeline metadata standardization for release channel selection; required for release automation.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Tested in previous release.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Release pipeline metadata changes; scoped and already exercised in a prior release.

Merge Conflicts

Resolved conflicts in .pipelines/templates/release-upload-buildinfo.yml and tools/metadata.json to preserve release/v7.4 values while switching to PublishToChannels.

@TravisEz13 TravisEz13 requested a review from a team as a code owner February 20, 2026 22:38
Copilot AI review requested due to automatic review settings February 20, 2026 22:38
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 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 pull request backports metadata property standardization from the main branch to release/v7.4, renaming the Latest property to PublishToChannels in the release metadata objects. This change corrects an earlier typo and standardizes the naming convention for controlling release channel publishing across pipeline templates.

Changes:

  • Renamed Latest property to PublishToChannels in LTSRelease and StableRelease objects in metadata.json
  • Updated all pipeline template references to use the new PublishToChannels property name
  • Minor whitespace cleanup (removed trailing whitespace)

Reviewed changes

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

File Description
tools/metadata.json Renamed Latest to PublishToChannels in both LTSRelease and StableRelease objects
.pipelines/templates/channelSelection.yml Updated to read PublishToChannels from metadata; reorganized variable declarations for clarity
.pipelines/templates/release-upload-buildinfo.yml Updated to read PublishToChannels instead of Latest; removed trailing whitespace
.pipelines/templates/release-prep-for-ev2.yml Updated to read PublishToChannels from LTSRelease; removed trailing whitespace

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.

2 participants