Added version info

This commit is contained in:
Chuck Walbourn
2020-01-23 15:58:52 -08:00
parent e5569b9724
commit 8b2a53e500
4 changed files with 138 additions and 15 deletions

6
.nuget/versioninfo.ps1 Normal file
View File

@@ -0,0 +1,6 @@
param(
[string]$version
)
$versionComma = $version.Replace(".", ",")
$files = 'Texassemble\texassemble.rc', 'Texconv\Texconv.rc', 'Texdiag\texdiag.rc'
foreach ($file in $files) { (Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file }