Skip to content

Fix Store submission re-publishing stale packages - #146

Merged
michaeljolley merged 1 commit into
mainfrom
michaeljolley-sturdy-chainsaw
Jul 5, 2026
Merged

michaeljolley merged 1 commit into
mainfrom
michaeljolley-sturdy-chainsaw

Conversation

@michaeljolley

Copy link
Copy Markdown
Contributor

Problem

The store-submit job ran:

msstore publish WeatherExtension -i msix-packages -id "..."

-i/--inputFile expects a single .msix/.msixupload file, but msix-packages is a directory. Per the msstore CLI docs, when no valid input file is supplied the CLI falls back to the pathOrUrl project and, finding nothing to upload, clones the previously published submission.

The result: every 1.2.x release silently re-published the stale 1.1.0.0 packages. In run 28480529524 the job downloaded WeatherExtension_1.2.2.0_{x64,arm64}.msix but committed WeatherExtension_1.1.0.0_{x64,arm64}.msix.

Fix

Added a bundling step that zips the architecture-specific .msix packages into a single WeatherExtension_<version>.msixupload file (a .msixupload is a plain ZIP container Partner Center accepts, and it can hold multiple architectures), then passes that file to -i:

msstore publish WeatherExtension -i "<...>.msixupload" -id "..."

Now the freshly built packages are uploaded instead of cloning the old submission.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

The store-submit job passed a directory (msix-packages) to msstore publish -i,
but --inputFile expects a single .msix/.msixupload file. With no valid input
file, the CLI cloned the previously published submission, re-publishing the
stale 1.1.0.0 packages instead of the freshly built version.

Bundle the downloaded architecture-specific .msix packages into a single
.msixupload file and pass that file to -i so the correct version is submitted.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@michaeljolley
michaeljolley merged commit f28af1b into main Jul 5, 2026
2 checks passed
@michaeljolley
michaeljolley deleted the michaeljolley-sturdy-chainsaw branch July 5, 2026 04:04
michaeljolley added a commit that referenced this pull request Jul 5, 2026
…ectory

PR #146's approach passed a '.msixupload' file to 'msstore publish -i', but the
installed msstore CLI (v0.3.9) treats -i/--inputDirectory as a directory, so the
job failed at runtime with 'Input directory does not exist.'

The msstore CLI selects its publisher from the *extension* of the positional
argument and uploads exactly that file (no sibling gathering, no rebuild). Build
one multi-architecture .msixbundle from the prebuilt x64/arm64 .msix packages
with makeappx and pass it as the positional argument, so both architectures are
submitted at the correct version deterministically -- ending the stale 1.1.0.0
re-publish.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
michaeljolley added a commit that referenced this pull request Jul 5, 2026
…ectory (#147)

PR #146's approach passed a '.msixupload' file to 'msstore publish -i', but the
installed msstore CLI (v0.3.9) treats -i/--inputDirectory as a directory, so the
job failed at runtime with 'Input directory does not exist.'

The msstore CLI selects its publisher from the *extension* of the positional
argument and uploads exactly that file (no sibling gathering, no rebuild). Build
one multi-architecture .msixbundle from the prebuilt x64/arm64 .msix packages
with makeappx and pass it as the positional argument, so both architectures are
submitted at the correct version deterministically -- ending the stale 1.1.0.0
re-publish.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant