Repository navigation
Chore(Microsoft Store release): docs for the live listing, parallel Store build, automatic Partner Center submission. - #190
Merged
Merged
Conversation
StepForge is live in the Microsoft Store (9NDH81CF1HGV), so: - The Release workflow builds the Store .appx in its own build-windows-store job, alongside the installer and Linux builds, instead of after the .exe in build-windows. The GitHub Release waits for it like the other packages. - A new publish-microsoft-store job submits stable releases to Partner Center with Microsoft's Store Developer CLI (scripts/publish-microsoft-store.js): it uploads the package as .msix, marks earlier packages for removal, commits the submission and waits for Partner Center to accept it. A rerun skips a version that is already in certification or live. - storeVersion moves to the dependency-free scripts/store-version.js so the submission job needs no npm ci. - Docs link to the Store listing instead of a search, drop the "coming in a couple of days" note, add the Get it from Microsoft badge to the README, and no longer point to the deleted MICROSOFT_STORE_RELEASE.md.
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.
StepForge is live in the Microsoft Store (9NDH81CF1HGV). This PR updates the docs, builds the Store package in its own job, and has every stable release submit itself to Partner Center.
Release workflow
build-windows-storeruns the same sign-in configuration and version stamp steps as the installer job, thennpm run package:windows:store. It no longer uses--if-configured, becauseidentity.jsonis filled in now, so a broken Store build fails the release. The.appxis still not attached to the GitHub Release.publish-microsoft-storeinstalls Microsoft's Store Developer CLI (microsoft/microsoft-store-apppublisher@v1.4, pinned to CLIv0.4.3) and runsscripts/publish-microsoft-store.js:msstore reconfigurewith the Partner Center credentials.msstore publish <pkg>.msix --appId 9NDH81CF1HGV --priceId Free --noCommitreplaces any draft with a copy of the live submission and uploads the package.--priceId Freekeeps the CLI from stopping when Partner Center returns per-market pricing that the submission API can't accept back.PendingDelete, then runsmsstore submission update --payload. The CLI on its own only removes an old package with the same extension, so the hand-uploaded.appxfrom the first release would stay.msstore submission publish, thensubmission poll, which waits for Partner Center to accept the submission, not for certification.The CLI only accepts
.msix, so the.appxis copied toStepForge_<storeVersion>_x64.msix. The bytes are the same; only the extension changes.storeVersionmoved into a dependency-freescripts/store-version.js, so the submission job needs nonpm ci.package-windows-store.jsstill exports it.Setup needed before the next release
The submission job fails with a message naming whatever is missing until these exist:
The submission copies the live submission's settings. If Partner Center is set to publish manually after certification, each release still waits for you to press Publish.
Docs
docs/windows/microsoft-store.md.docs/windows_installation.mdanddocs/windows/microsoft-store.mdnow link to the listing instead of a Store search.docs/CONTRIBUTING.mdand the script/workflow comments no longer link to the deletedMICROSOFT_STORE_RELEASE.md.Testing
npm test: 1121 pass, 0 fail.tests/unit/publish-microsoft-store.test.jsruns against a stand-inmsstore. It covers the command order, the.msixname, the old.appxbeing markedPendingDeleteand stale draft uploads being dropped, reruns skipping a version that is in certification or live, failed submissions being retried, missing credentials, and the workflow job's wiring..msix-only extension check, same-extension package replacement,--payload, and clean JSON on stdout.actionlintreports no issues in the new jobs.