Mercurial > hg > sonic-visualiser
changeset 2549:8ac67c315afa
The installer file doesn't permit -pre in version string
author | Chris Cannam |
---|---|
date | Mon, 18 May 2020 15:29:46 +0100 |
parents | 6f7065085911 |
children | a004f981f6f5 b0ce063f1739 |
files | deploy/win32/generate-wxs.ps1 deploy/win64/generate-wxs.ps1 |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/win32/generate-wxs.ps1 Mon May 18 14:24:30 2020 +0100 +++ b/deploy/win32/generate-wxs.ps1 Mon May 18 15:29:46 2020 +0100 @@ -2,7 +2,7 @@ Set-StrictMode -Version 2.0 $ErrorActionPreference = "Stop" -$version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' +$version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' -replace '-pre.*','' $wxs = "deploy\win32\sonic-visualiser.wxs" $in = "$wxs.in"
--- a/deploy/win64/generate-wxs.ps1 Mon May 18 14:24:30 2020 +0100 +++ b/deploy/win64/generate-wxs.ps1 Mon May 18 15:29:46 2020 +0100 @@ -13,7 +13,7 @@ $redist_ver = $redists[-1] -$version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' +$version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' -replace '-pre.*','' $wxs = "deploy\win64\sonic-visualiser.wxs" $in = "$wxs.in"