feat(v2): add CMD release packaging entrypoint
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
rem Avoid passing a PowerShell 7 module path to Windows PowerShell 5.1.
|
||||
rem The release script needs the built-in Microsoft.PowerShell.Utility module.
|
||||
set "PSModulePath="
|
||||
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%build-v2-release.ps1" %*
|
||||
set "EXIT_CODE=%ERRORLEVEL%"
|
||||
|
||||
endlocal & exit /b %EXIT_CODE%
|
||||
Reference in New Issue
Block a user