From f66dc50b5a6b8d3fc2ae0bb90c66c2ab0fa940f4 Mon Sep 17 00:00:00 2001 From: "METANEOCORTEX\\Kotti" Date: Fri, 25 Nov 2022 20:18:48 +0100 Subject: [PATCH] master contains current beta development --- Version.cmd | 8 +++++++- Version_alpha.cmd | 7 ------- Version_beta.cmd | 7 ------- 3 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 Version_alpha.cmd delete mode 100644 Version_beta.cmd diff --git a/Version.cmd b/Version.cmd index c6f18a523..5b198218b 100644 --- a/Version.cmd +++ b/Version.cmd @@ -5,7 +5,13 @@ setlocal enableextensions set SCRIPTNAME=%~dpn0.ps1 set ARGS=%* -if ["%~1"] neq [""] call :ESCAPE_ARGS + +set POSTFIX=beta +if ["%POSTFIX%"] == [""] ( + if ["%~1"] neq [""] call :ESCAPE_ARGS +) else ( + set ARGS=-VerPatch "%POSTFIX%" +) :POWERSHELL PowerShell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted -Command "& { $ErrorActionPreference = 'Stop'; & '%SCRIPTNAME%' @args; Exit $LastExitCode }" %ARGS% diff --git a/Version_alpha.cmd b/Version_alpha.cmd deleted file mode 100644 index aba0087f9..000000000 --- a/Version_alpha.cmd +++ /dev/null @@ -1,7 +0,0 @@ -:: Batch file for ALPHA and XPERIMENTAL version -@echo off -setlocal -set _VERPATCH_=alpha -echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt -Version -VerPatch "%_VERPATCH_%" -endlocal diff --git a/Version_beta.cmd b/Version_beta.cmd deleted file mode 100644 index 94e63081a..000000000 --- a/Version_beta.cmd +++ /dev/null @@ -1,7 +0,0 @@ -:: Batch file for BETA version -@echo off -setlocal -set _VERPATCH_=beta -echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt -Version -VerPatch "%_VERPATCH_%" -endlocal