Skip to content

[release/v7.6.1] PMC release: Use slash instead of back-slash for Linux container#27319

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.6.1from
adityapatwardhan:backport/release/v7.6.1/27315-156906e05
Apr 21, 2026
Merged

[release/v7.6.1] PMC release: Use slash instead of back-slash for Linux container#27319
adityapatwardhan merged 1 commit intoPowerShell:release/v7.6.1from
adityapatwardhan:backport/release/v7.6.1/27315-156906e05

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27315 to release/v7.6.1

Triggered by @adityapatwardhan on behalf of @daxian-dbw

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)

This is a required tooling change that fixes the PMC release build pipeline for Linux containers. Without this fix, the CredScan step fails because the path with backslashes is not properly resolved in Linux environments.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

This backport applies the same fix already successfully tested and merged to v7.5.6 (PR #27318). The change fixes Linux container builds by using forward slashes instead of backslashes in file paths within the release-prep-for-ev2.yml pipeline template.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk as this modifies the build pipeline, but the change is minimal (single line), well-tested through the v7.5.6 backport, and directly addresses a specific build failure in Linux containers without affecting other functionality.

Copilot AI review requested due to automatic review settings April 21, 2026 22:19
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 21, 2026
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 21, 2026 22:19
Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Backports a pipeline fix to make the EV2 release-prep template work in Linux containers by using POSIX-style path separators for the CredScan suppressions file.

Changes:

  • Update the CredScan suppressions file path from Windows-style \ separators to / to avoid path resolution failures in Linux containers.

@adityapatwardhan adityapatwardhan enabled auto-merge (squash) April 21, 2026 22:26
@adityapatwardhan adityapatwardhan enabled auto-merge (squash) April 21, 2026 22:26
@adityapatwardhan adityapatwardhan merged commit 6404717 into PowerShell:release/v7.6.1 Apr 21, 2026
37 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants