Skip to content

[release/v7.4.14] Bring Release Changes from v7.6.0-preview.6#26911

Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4.14from
adityapatwardhan:backport/release/v7.4.14/26910-be139546a
Feb 26, 2026
Merged

[release/v7.4.14] Bring Release Changes from v7.6.0-preview.6#26911
TravisEz13 merged 1 commit intoPowerShell:release/v7.4.14from
adityapatwardhan:backport/release/v7.4.14/26910-be139546a

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #26910 to release/v7.4.14

Triggered by @adityapatwardhan on behalf of @TravisEz13

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)

Updates build module (build.psm1) to skip dotnet-format installation in CI/CD environments. Updates MSIX pipeline template with corrected Azure Pipeline variable references.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Verified cherry-pick completed successfully with no conflicts. Changes are isolated to build scripts and CI/CD templates.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Build system changes affecting CI/CD pipelines and dotnet tool installation, but changes are isolated and well-scoped. No runtime impact on user-facing functionality.

…l#26910)

Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 26, 2026 21:28
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner February 26, 2026 21:28
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 26, 2026
@TravisEz13 TravisEz13 changed the title [release/v7.4.14] [release/v7.4] Bring Release Changes from v7.6.0-preview.6 [release/v7.4.14] Bring Release Changes from v7.6.0-preview.6 Feb 26, 2026
@TravisEz13 TravisEz13 enabled auto-merge (squash) February 26, 2026 21:30
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

This PR backports build system improvements from v7.6.0-preview.6 to the release/v7.4.14 branch. The changes optimize CI/CD pipeline execution and fix Azure Pipeline variable reference syntax issues.

Changes:

  • Skip dotnet-format installation in CI/CD environments to improve build performance
  • Correct Azure Pipeline variable references in MSIX publishing conditions to use runtime variable syntax

Reviewed changes

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

File Description
build.psm1 Adds conditional dotnet-format installation logic that skips installation in Azure DevOps (TF_BUILD) environments while allowing local development installations for "Tools" and "All" scenarios
.pipelines/templates/release-MSIX-Publish.yml Fixes condition syntax to use variables['VAR'] instead of $(VAR) for runtime variables (STABLE, LTS, PREVIEW) from stage dependencies

@TravisEz13 TravisEz13 merged commit 16ca584 into PowerShell:release/v7.4.14 Feb 26, 2026
40 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.4.14/26910-be139546a branch February 26, 2026 22:15
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