UVAtlas/.nuget/versioninfo.ps1
2020-02-15 00:08:39 -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)