Commit 137d5a5
committed
ci: use numeric-only pre-release identifier for MSI compatibility
The Windows MSI bundler maps the SemVer pre-release identifier to the
4th version field and requires it to be numeric-only and <= 65535, so
"0.4.0-pre.185" fails to bundle ("pre" isn't numeric). Use a single
numeric identifier instead: "<base>-<run_number>" (e.g. 0.4.0-185).
SemVer ordering is preserved (0.3.0 < 0.4.0-185 < 0.4.0-186 < 0.4.0) and
both channels keep building MSI on Windows, matching the installer type
existing stable users already have. promote.yml's suffix strip is
generalized to "-.*" to recover the stable version from the new format.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent 542ccc5 commit 137d5a5
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| |||
0 commit comments