mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2025-12-28 07:54:07 +00:00
+chg: Version numbering postfix commands
This commit is contained in:
parent
13e71f43f7
commit
6582be46d0
2
.gitignore
vendored
2
.gitignore
vendored
@ -34,7 +34,7 @@ Thumbs.db
|
||||
/packages
|
||||
/other_sln/packages
|
||||
|
||||
/Version_*.cmd
|
||||
/_Version_*.cmd
|
||||
/Versions/build.txt
|
||||
/Versions/day.txt
|
||||
/Versions/commit_id.txt
|
||||
|
||||
14
Version.cmd
14
Version.cmd
@ -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
3
Version_beta.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
rem - Batch file for RELEASE CANDIDATE version
|
||||
@echo off
|
||||
call Version "beta"
|
||||
3
Version_rc.cmd
Normal file
3
Version_rc.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
rem - Batch file for RELEASE CANDIDATE version
|
||||
@echo off
|
||||
call Version "RC"
|
||||
3
Version_rc2.cmd
Normal file
3
Version_rc2.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
rem - Batch file for RELEASE CANDIDATE version
|
||||
@echo off
|
||||
call Version "RC2"
|
||||
Loading…
Reference in New Issue
Block a user