mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-23 01:19:17 +00:00
db8472a6e5
* installer: extract version number into separate file and use it where possible * MSIX: rename package to include version on CDPx * installer: generate assembly info for FZ editor * MSIX: inject correct version to appxmanifest
5 lines
243 B
PowerShell
5 lines
243 B
PowerShell
$version = ([xml](Get-Content ..\Version.props)).Project.PropertyGroup.Version
|
|
|
|
(Get-Content appxmanifest.xml) `
|
|
-replace '(Name="[\.\w]+"\sVersion=")([\d\.]+)"', -join('${1}', $version, '.0"') `
|
|
| Out-File -Encoding utf8 appxmanifest.xml |