Chg: Small enhancement for Notepad3Portable Release version

This commit is contained in:
Pairi Daiza 2020-11-25 16:39:05 +01:00
parent 8e47ea6e09
commit b7cc0e5ddd
7 changed files with 17 additions and 7 deletions

View File

@ -12,9 +12,9 @@ PowerShell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted
set EXITCODE=%ERRORLEVEL%
::ECHO ERRORLEVEL=%EXITCODE%
:: Pause for 2 seconds to verify the "Notepad3 version number:" before exiting
:: Pause for 4 seconds to verify the "Notepad3 version number:" before exiting
:: ============================================================================
ping -n 3 127.0.0.1>nul
ping -n 5 127.0.0.1>nul
goto :END

View File

@ -1,6 +1,7 @@
:: Batch file for ALPHA and XPERIMENTAL version
@echo off
setlocal
set _VERPATCH_=alpha
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
Version -VerPatch "%_VERPATCH_%"
endlocal

View File

@ -1,6 +1,7 @@
:: Batch file for BETA version
@echo off
setlocal
set _VERPATCH_=beta
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
Version -VerPatch "%_VERPATCH_%"
endlocal

View File

@ -1,6 +1,7 @@
:: Batch file for RELEASE CANDIDATE version
@echo off
setlocal
set _VERPATCH_=rc
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
Version -VerPatch "%_VERPATCH_%"
endlocal

7
Version_rel.cmd Normal file
View File

@ -0,0 +1,7 @@
:: Batch file for RELEASE version (without the separator "_" before ".paf" in Notepad3Portable)
@echo off
setlocal
set _VERPATCH_=
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
Version -VerPatch "%_VERPATCH_%"
endlocal

View File

@ -24,7 +24,7 @@ CommercialUse=true
[Version]
PackageVersion=xxxVERSIONxxx
DisplayVersion=xxxVERSIONxxx_xxxDEVNAMExxx
DisplayVersion=xxxVERSIONxxxxxxDEVNAMExxx
[SpecialPaths]
Plugins=NONE

View File

@ -216,7 +216,7 @@ del /f /q "%NP3_PORTAPP_INFO%_tmp.ini"
:: call %SCRIPT_DIR%Signing_for_NP3P_2nd_EXE.cmd
:: Creation of a "7-Zip" file by appending the extension ".7z"
set Notepad3Portable.paf.exe=%SCRIPT_DIR%Notepad3Portable_%VERSION%_%DEVNAME%.paf.exe
set Notepad3Portable.paf.exe=%SCRIPT_DIR%Notepad3Portable_%VERSION%%DEVNAME%.paf.exe
if exist %Notepad3Portable.paf.exe% (
copy /B %Notepad3Portable.paf.exe% %Notepad3Portable.paf.exe%.7z /Y /V
) else (