Internal. Update release scripts

This commit is contained in:
Maximus5 2021-06-21 13:09:43 +02:00
parent 2fa7be059f
commit 6e94eed0fe
2 changed files with 7 additions and 7 deletions

View File

@ -83,26 +83,26 @@ if /I "%~2" == "-deploy" goto do_deploy
rem echo on
rem Update versions in all release files (msi, portableapps, nuget, etc.)
powershell -noprofile -command "%~dp0Deploy\UpdateDeployVersions.ps1" %BUILD_NO%
powershell -noprofile -ExecutionPolicy RemoteSigned -command "%~dp0Deploy\UpdateDeployVersions.ps1" %BUILD_NO%
if errorlevel 1 goto err
rem set ConEmuHooks=OFF
echo Version from WhatsNew-ConEmu.txt
%MINGWRT%\head -n 30 "%~dp0Release\ConEmu\WhatsNew-ConEmu.txt" | %windir%\system32\find "20%BUILD_NO:~0,2%.%BUILD_NO:~2,2%.%BUILD_NO:~4,2%"
"%MINGWRT%\head" -n 30 "%~dp0Release\ConEmu\WhatsNew-ConEmu.txt" | %windir%\system32\find "20%BUILD_NO:~0,2%.%BUILD_NO:~2,2%.%BUILD_NO:~4,2%"
if errorlevel 1 (
%MINGWRT%\head -n 30 "%~dp0Release\ConEmu\WhatsNew-ConEmu.txt" | %MINGWRT%\tail -n -16
"%MINGWRT%\head" -n 30 "%~dp0Release\ConEmu\WhatsNew-ConEmu.txt" | "%MINGWRT%\tail" -n -16
echo/
echo Build number was not described in WhatsNew-ConEmu.txt!
echo/
)
echo Version from PortableApps
type %ver_info% | %MINGWRT%\grep -E "^(PackageVersion|DisplayVersion)"
type %ver_info% | "%MINGWRT%\grep" -E "^(PackageVersion|DisplayVersion)"
echo Version from version.h
type %ver_hdr% | %MINGWRT%\grep -G "^#define MVV_"
type %ver_hdr% | "%MINGWRT%\grep" -G "^#define MVV_"
rem Don't wait for confirmation - build number was already confirmed...
rem echo/
@ -169,7 +169,7 @@ goto fin
:tch
cd %1
%MINGWRT%\touch %2 %3 %4
"%MINGWRT%\touch" %2 %3 %4
cd ..
goto :EOF

View File

@ -43,7 +43,7 @@ call "%~dp0GetCurVer.cmd"
rem Update PortableApps and Chocolatey versions
if "%SKIP_UPD%" == "YES" goto skip_upd
powershell -noprofile -command "%~dp0UpdateDeployVersions.ps1" %CurVerBuild%
powershell -noprofile -ExecutionPolicy RemoteSigned -command "%~dp0UpdateDeployVersions.ps1" %CurVerBuild%
:skip_upd
set "daily_md=%CONEMU_WWW%_posts\.daily.md"