Commit 8f9cff5
msix: convert version to valid MSIX format (X.X.X.X)
MSIX packages require versions in strict X.X.X.X numeric format.
Convert Git for Windows versions (e.g. '2.47.1.windows.1' -> '2.47.1.1')
and handle test versions (e.g. '0-test' -> '0.0.0.0') by stripping
non-numeric characters and padding with .0 segments as needed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Shmueli Englard <senglard@microsoft.com>1 parent a9d7ebf commit 8f9cff5
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
69 | 80 | | |
70 | 81 | | |
71 | 82 | | |
| |||
176 | 187 | | |
177 | 188 | | |
178 | 189 | | |
179 | | - | |
| 190 | + | |
180 | 191 | | |
181 | 192 | | |
182 | 193 | | |
| |||
0 commit comments