Skip to content

Fix Automated Store Publishing, .NET Resolution, Update Linux Image, and Changelog Link Generation#26178

Closed
jshigetomi wants to merge 16 commits into
masterfrom
BringReleaseChanges
Closed

Fix Automated Store Publishing, .NET Resolution, Update Linux Image, and Changelog Link Generation#26178
jshigetomi wants to merge 16 commits into
masterfrom
BringReleaseChanges

Conversation

@jshigetomi
Copy link
Copy Markdown
Collaborator

@jshigetomi jshigetomi commented Oct 10, 2025

PR Summary

This pull request introduces several updates to the PowerShell release and packaging pipelines, primarily focused on improving MSIX Store publishing, channel selection logic, and build environment consistency. The changes enhance automation, streamline channel-specific publishing, and update configurations for better compatibility and maintainability.

MSIX Store Publishing and Channel Handling:

  • Refactored the MSIX Store publishing pipeline to use separate publish tasks for LTS, Stable, and Preview channels, each with explicit conditions and configurations. Channel selection now relies on pipeline variables, improving clarity and maintainability. [1] [2]
  • Updated StoreBroker configuration to include PDP.xml by default and set targetPublishMode to Immediate for faster publishing. [1] [2]
  • Modified the pipeline to upload store failure logs on errors for better diagnostics. [1] [2]

Build and Validation Environment Improvements:

  • Updated the Linux SDK validation image from Ubuntu 20.04 to Ubuntu 22.04 to ensure compatibility with newer dependencies.
  • Added steps to import the build module and bootstrap the .NET environment before global tool and SDK validation, ensuring consistent build prerequisites across jobs. [1] [2] [3]

Pipeline Logic and Variable Handling:

  • Improved channel selection logic in channelSelection.yml and related templates by referencing variables directly from previous pipeline stages, and corrected variable casing and usage for consistency. [1] [2]
  • Adjusted changelog URL generation and tag parsing logic for both MSIX and NuGet release pipelines to better handle preview tags and formatting. [1] [2]

MSIX Packaging and Signing:

  • Enhanced PDP XML and SBConfig file update scripts to handle XML namespaces correctly and provide verbose output for easier debugging. [1] [2]
  • Added new variables for SDL credential scanning and TSA configuration files to improve security and compliance in the packaging process.

Pipeline Dependency and Variable Updates:

  • Updated the MSIX publishing stage to depend on both setReleaseTagAndChangelog and PushGitTagAndMakeDraftPublic stages, and switched to using a variable for the release environment, increasing flexibility.

These changes collectively improve the reliability, maintainability, and traceability of the PowerShell release pipeline, especially regarding MSIX Store publishing and channel management.

PR Context

PR Checklist

daxian-dbw and others added 15 commits October 10, 2025 14:37
Use BuildSources.Directory instead of reporoot

Add powershell

use sbConfigPath

Add variable group store publish variables

Use spaces in name

Change the AppStoreName locID

Output the PDP and config file

Temporarily disable signing

Use AppStore Xpath

Use namespace xml

Use AppID

Upload SBLog.txt on failure

Try powershell private

Remove AppID addition
Update the test image for SDK tests

----
#### AI description  (iteration 1)
#### PR Classification
This PR is a configuration update aimed at improving SDK test reliability by using an updated Ubuntu test image.

#### PR Summary
The pull request updates the pipeline configuration to reference a new test image version for SDK validation.
- `.pipelines/PowerShell-Release-Official.yml`: Changed `imageName` from `PSMMSUbuntu20.04-Secure` to `PSMMSUbuntu22.04-Secure`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
@jshigetomi jshigetomi requested a review from a team as a code owner October 10, 2025 19:39
@jshigetomi jshigetomi added CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log Backport-7.4.x-Consider Backport-7.5.x-Consider labels Oct 10, 2025
@jshigetomi jshigetomi changed the title Fix Automated Store Publishing, .NET Resolution, Changelog Link Generation Fix Automated Store Publishing, .NET Resolution, Linux Image Update, and Changelog Link Generation Oct 10, 2025
@jshigetomi jshigetomi changed the title Fix Automated Store Publishing, .NET Resolution, Linux Image Update, and Changelog Link Generation Fix Automated Store Publishing, .NET Resolution, Update Linux Image, and Changelog Link Generation Oct 10, 2025
@daxian-dbw
Copy link
Copy Markdown
Member

@jshigetomi I will merge the 7.6.0-preview.5 release branch to master using a merge commit once you are done with the fix in the release branch, so this PR can be closed.

@daxian-dbw daxian-dbw closed this Oct 10, 2025
@daxian-dbw
Copy link
Copy Markdown
Member

The v7.6.0-preview.5 release branch has been merged back to master via #26180

@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

📣 Hey @@jshigetomi, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@pohi99999
Copy link
Copy Markdown

@copilot

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.

5 participants