mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
build,windows: restore DISTTYPEDIR
* rename :exit to :distexit Backport-PR-URL: https://github.com/nodejs/node/pull/14842 PR-URL: https://github.com/nodejs/node/pull/13969 Refs: https://github.com/nodejs/node/pull/13900#pullrequestreview-46906389 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>
This commit is contained in:
1 parent
2a1a93dcbf
commit
c2090a0634
1 file changed
+5
-2
+5
-2
@@ -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
|
||||
Reference in new issue
Block a user