Skip to content

Automate Store Publishing - #25725

Merged
Justin Chung (jshigetomi) merged 12 commits into
masterfrom
storePublish
Sep 30, 2025
Merged

Justin Chung (jshigetomi) merged 12 commits into
masterfrom
storePublish

Conversation

@jshigetomi

@jshigetomi Justin Chung (jshigetomi) commented Jul 3, 2025 •

Copy link
Copy Markdown
Collaborator

PR Summary

This pull request introduces significant updates to the PowerShell release pipelines, focusing on automating MSIX package publishing, improving channel selection, and adding configurations for store submissions. The changes include new parameters, templates, and configuration files to streamline the release process.

Pipeline Enhancements for MSIX Publishing:

  • Added skipMSIXPublish parameter: A new boolean parameter was added to .pipelines/PowerShell-Release-Official.yml to allow skipping the MSIX publishing step during the release process.
  • Replaced approval job with MSIX publish template: Updated the PublishMsix stage to use a new release-MSIX-Publish.yml template and conditionally skip publishing based on the skipMSIXPublish parameter.

Store Submission Configuration:

  • Created PDP.xml for store metadata: Added a detailed PDP.xml file to define product descriptions, keywords, screenshots, and other metadata for the Microsoft Store submission.
  • Added SBConfig.json for StoreBroker: Introduced a SBConfig.json file to configure StoreBroker settings, including submission parameters, pricing, and device family support.

Channel Selection and Configuration Updates:

  • Introduced channelSelection.yml template: Added a script to determine the release channel (LTS, Stable, or Preview) and set corresponding pipeline variables.
  • Updated MSIX creation pipeline: Enhanced .pipelines/templates/package-create-msix.yml to include channel selection, update store configurations (PDP.xml and SBConfig.json), and automate StoreBroker package creation and upload. [1] [2]

PR Context

PR Checklist

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jul 7, 2025
@jshigetomi Justin Chung (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 Jul 8, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jul 8, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot added Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept and removed Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept labels Jul 14, 2025
@jshigetomi
Justin Chung (jshigetomi) marked this pull request as ready for review July 15, 2025 20:01
@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner July 15, 2025 20:01
@jshigetomi

Copy link
Copy Markdown
Collaborator Author

/azp run PowerShell-CI-linux-packaging PowerShell-Windows-Packaging-CI

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@jshigetomi

Copy link
Copy Markdown
Collaborator Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Jul 22, 2025

@daxian-dbw Dongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Justin Chung (@jshigetomi) Thank you for making the change!
I left a few comments below.

Comment thread .pipelines/store/PDP/PDP/en-US/PDP.xml Resolved
Comment thread .pipelines/store/PDP/PDP/en-US/PDP.xml Resolved
Comment thread .pipelines/store/PDP/PDP/en-US/PDP.xml Resolved
@jshigetomi

Justin Chung (jshigetomi) commented Sep 3, 2025 •

Copy link
Copy Markdown
Collaborator Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Review - Needed The PR is being reviewed label Sep 30, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Sep 30, 2025
@jshigetomi

Copy link
Copy Markdown
Collaborator Author

/azp run PowerShell-Windows-Packaging-CI, PowerShell-CI-linux-packaging

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@jshigetomi
Justin Chung (jshigetomi) merged commit 0fb6904 into master Sep 30, 2025
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the storePublish branch September 30, 2025 18:42
PowerShell Team Bot (pwshBot) pushed a commit to pwshBot/PowerShell that referenced this pull request Oct 9, 2025
PowerShell Team Bot (pwshBot) pushed a commit to pwshBot/PowerShell that referenced this pull request Oct 9, 2025
Travis Plunk (TravisEz13) added a commit to TravisEz13/PowerShell that referenced this pull request Nov 5, 2025
The variables $IsLTS, $IsStable, and $IsPreview were being used
but never initialized. In the main branch, these are set by the
channelSelection.yml template (added in PR PowerShell#25725), but in release/v7.4
the backport PR PowerShell#26163 uses stageDependencies to access these values.
The PowerShell variables need to be explicitly initialized from the
pipeline variables $(LTS), $(STABLE), and $(PREVIEW) at the
beginning of the script block.
SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Done Backport-7.5.x-Done 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.

4 participants