Skip to content

Commit

Permalink
build,windows: restore DISTTYPEDIR
Browse files Browse the repository at this point in the history
* rename :exit to :distexit

PR-URL: nodejs#13969
Refs: nodejs#13900 (review)
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
refack committed Jun 30, 2017
1 parent 0f1888f commit 9e5a211
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,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 (
Expand All @@ -561,4 +561,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

0 comments on commit 9e5a211

Please sign in to comment.