mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-12 07:36:14 +01:00
Add YAML Azure Pipelines
This commit is contained in:
6
build/versioninfo.ps1
Normal file
6
build/versioninfo.ps1
Normal 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 }
|
||||
Reference in New Issue
Block a user