Insert correct polaris version in windows installer
This commit is contained in:
parent
7562bb306c
commit
f9f69cd55c
4 changed files with 9 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1534,7 +1534,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "polaris"
|
||||
version = "0.12.0-wip41"
|
||||
version = "0.12.0-wip42"
|
||||
dependencies = [
|
||||
"anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ape 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "polaris"
|
||||
version = "0.12.0-wip41"
|
||||
version = "0.12.0-wip42"
|
||||
authors = ["Antoine Gersant <antoine.gersant@lesforges.org>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version='1.0' encoding='windows-1252'?>
|
||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
<Product Name='Polaris' Id='7D8EB5AC-6020-40B6-9A53-4E0A0CF7B23A' UpgradeCode='FF16B075-1D36-47F4-BE37-D95BBC1A412C' Language='1033' Codepage='1252' Version='0.10.0' Manufacturer='Permafrost'>
|
||||
<Product Name='Polaris' Id='*' UpgradeCode='FF16B075-1D36-47F4-BE37-D95BBC1A412C' Language='1033' Codepage='1252' Manufacturer='Permafrost'>
|
||||
|
||||
<Package Id='*' Keywords='Installer' Platform='x64' InstallScope='perUser' Description='Polaris Installer' Manufacturer='Permafrost' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
|
||||
|
||||
|
|
|
@ -26,6 +26,12 @@ Copy-Item .\target\release\polaris.exe .\release\tmp\
|
|||
Copy-Item .\web .\release\tmp\web -recurse
|
||||
Copy-Item .\docs\swagger .\release\tmp\swagger -recurse
|
||||
|
||||
""
|
||||
"Inserting version number in installer config"
|
||||
[xml]$wxs = Get-Content .\res\windows\installer\installer.wxs
|
||||
$wxs.Wix.Product.UpdateAttribute("Version", $POLARIS_VERSION)
|
||||
$wxs.Save('.\res\windows\installer\installer.wxs')
|
||||
|
||||
""
|
||||
"Creating installer"
|
||||
$heat_exe = Join-Path $env:WIX bin\heat.exe
|
||||
|
|
Loading…
Add table
Reference in a new issue