+chg: Version numbering postfix commands

This commit is contained in:
METANEOCORTEX\Kotti 2022-12-15 13:08:03 +01:00
parent 13e71f43f7
commit 6582be46d0
5 changed files with 16 additions and 9 deletions

2
.gitignore vendored
View File

@ -34,7 +34,7 @@ Thumbs.db
/packages
/other_sln/packages
/Version_*.cmd
/_Version_*.cmd
/Versions/build.txt
/Versions/day.txt
/Versions/commit_id.txt

View File

@ -5,16 +5,14 @@
setlocal enableextensions
set SCRIPTNAME=%~dpn0.ps1
set ARGS=%*
if ["%ARGS%"] NEQ [""] (
call :ESCAPE_ARGS
)
:: set POSTFIX= (blank) or beta or rc or rc2 or ...
echo."%ARGS%">.\np3portableapp\_buildname.txt
set POSTFIX=rc2
if ["%POSTFIX%"] == [""] (
echo."%POSTFIX%">.\np3portableapp\_buildname.txt
if ["%~1"] neq [""] call :ESCAPE_ARGS
) else (
echo."_%POSTFIX%">.\np3portableapp\_buildname.txt
set ARGS=-VerPatch "%POSTFIX%"
if ["%ARGS%"] NEQ [""] (
set ARGS=-VerPatch "%ARGS%"
)
:POWERSHELL

3
Version_beta.cmd Normal file
View File

@ -0,0 +1,3 @@
rem - Batch file for RELEASE CANDIDATE version
@echo off
call Version "beta"

3
Version_rc.cmd Normal file
View File

@ -0,0 +1,3 @@
rem - Batch file for RELEASE CANDIDATE version
@echo off
call Version "RC"

3
Version_rc2.cmd Normal file
View File

@ -0,0 +1,3 @@
rem - Batch file for RELEASE CANDIDATE version
@echo off
call Version "RC2"