UVAtlas/build/versioninfo.ps1
2022-12-07 18:09:41 -08:00

7 lines
224 B
PowerShell

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)