File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 run : cargo install cargo-wix
6060
6161 - name : Build MSI installer
62- shell : pwsh
63- run : |
64- $version = (Select-String -Path Cargo.toml -Pattern '^version = "(.+)"' | Select-Object -First 1).Matches.Groups[1].Value
65- # Convert semver with prerelease to MSI-compatible format (x.y.z.w)
66- $msiVersion = $version -replace '-.*', '' -replace '^(\d+\.\d+\.\d+)$', '$1.0'
67- Write-Host "Building MSI with version: $msiVersion"
68- cargo wix --nocapture -D Version=$msiVersion
62+ run : cargo wix --nocapture
6963
7064 - name : Copy MSI to workspace root
7165 run : copy target\wix\*.msi .\ferrite-windows-x64.msi
Original file line number Diff line number Diff line change 1515 Manufacturer =' OlaProeis'
1616 Language =' 1033'
1717 Codepage =' 1252'
18- Version =' $(var.Version) ' >
18+ Version =' 0.2.5.2 ' >
1919
2020 <Package
2121 Id =' *'
You can’t perform that action at this time.
0 commit comments