diff --git a/vcbuild.bat b/vcbuild.bat index 34130c5ccdc..08a396d6644 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -405,7 +405,7 @@ if not defined NODE_VERSION ( if not defined DISTTYPE set DISTTYPE=release if "%DISTTYPE%"=="release" ( set FULLVERSION=%NODE_VERSION% - exit /b 0 + goto distexit ) if "%DISTTYPE%"=="custom" ( if not defined CUSTOMTAG ( @@ -432,4 +432,7 @@ if not "%DISTTYPE%"=="custom" ( set TAG=%DISTTYPE%%DATESTRING%%COMMIT% ) set FULLVERSION=%NODE_VERSION%-%TAG% -exit /b 0 + +:distexit +if not defined DISTTYPEDIR set DISTTYPEDIR=%DISTTYPE% +goto :EOF