1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-22 14:15:37 +01:00
GiantsTools/Sdk/External/DirectXTK/.nuget/versioninfo.ps1

7 lines
277 B
PowerShell
Raw Normal View History

2021-01-24 00:40:09 +01:00
param(
[string]$version
)
$versionComma = $version.Replace(".", ",")
$files = 'XWBTool\xwbtool.rc', 'MakeSpriteFont\Properties\AssemblyInfo.cs'
foreach ($file in $files) { (Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file }