diff --git a/update_version.ps1 b/update_version.ps1 deleted file mode 100644 index 146153e..0000000 --- a/update_version.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -(Get-Content -path $args[0] -Raw) | - ForEach-Object { - $defstr="#define VERSION_BUILD "; - $regex="$defstr(?\d*)"; - if($_ -match $regex) { - $_ = $_ -replace $regex,"$($defstr)$(([int]$matches["BuildVersion"])+1)" - } - $_ - } | - Out-File $args[0] -encoding ascii -nonewline \ No newline at end of file