Skip to content

[release/v7.5] Fix path to metadata.json in channel selection script#26400

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
TravisEz13:backport/release/v7.5/channelSelection-d6f89ef
Feb 11, 2026
Merged

[release/v7.5] Fix path to metadata.json in channel selection script#26400
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
TravisEz13:backport/release/v7.5/channelSelection-d6f89ef

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Nov 6, 2025

Backport of d6f89ef3f to release/v7.5

Triggered by @TravisEz13 on behalf of @TravisEz13

Original CL LabelL CL-BuildPackaging

Fixes the undefined variable in channelSelection.yml by using Build.SourcesDirectory pipeline variable instead.

This resolves the error: Cannot find path 'C:\tools\metadata.json' because it does not exist.

Copilot AI review requested due to automatic review settings November 6, 2025 20:27
@TravisEz13 TravisEz13 requested a review from a team as a code owner November 6, 2025 20:27
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 updates the path to the metadata.json file in the channelSelection.yml template to use an explicit Azure Pipelines variable instead of a PowerShell variable.

  • Changed from using $repoRoot variable to $(Build.SourcesDirectory)/PowerShell for accessing metadata.json

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

@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 6, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Nov 14, 2025
@microsoft-github-policy-service
Copy link
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@daxian-dbw daxian-dbw merged commit 8975e1d into PowerShell:release/v7.5 Feb 11, 2026
38 of 39 checks passed
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 Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants