[release/v7.4.14] Bring Release Changes from v7.6.0-preview.6#26911
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4.14from Feb 26, 2026
Conversation
…l#26910) Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
TravisEz13
approved these changes
Feb 26, 2026
Contributor
There was a problem hiding this comment.
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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
Regression
REQUIRED: Check exactly one box.
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.
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.