UVAtlas/build/versioninfo.ps1

7 lines
224 B
PowerShell
Raw Normal View History

2020-02-15 08:08:39 +00:00
param(
[string]$version
)
$file = 'UVAtlasTool\uvatlas.rc'
$versionComma = $version.Replace(".", ",")
(Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file
(Get-Content $file)