From 62121e79c9574da7559e1b947dc6d542a2596c6f Mon Sep 17 00:00:00 2001 From: Skidam <67871298+Skidamek@users.noreply.github.com> Date: Fri, 8 Apr 2022 19:12:17 +0200 Subject: [PATCH] Delete update_version.ps1 --- update_version.ps1 | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 update_version.ps1 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