Fix Microsoft Store MSIX versioning - #37
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f48aae946
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| $packageVersion = "$Version.$PackageRevision" | ||
| $packageVersion = if ($IdentityVersion) { $IdentityVersion } else { "$Version.0" } |
There was a problem hiding this comment.
Prevent republish identities from colliding with later releases
When 0.2.1 is republished with the documented override 0.2.2.0, a subsequent normal 0.2.2 release leaves IdentityVersion empty and this fallback generates 0.2.2.0 again. Because Partner Center requires the new package identity to be higher than the previously submitted identity, following the documented normal-release flow then rejects that release; use an identity scheme that Store-only republishes cannot consume, or require the carried-forward identity override on later releases.
Useful? React with 👍 / 👎.
Summary
Validation
n- ./tools/SyncStoreListing.ps1 -Version 0.2.1 -ValidateOnlyn- PowerShell parser validation