diff --git a/vcbuild.bat b/vcbuild.bat index 7fab85c85a583f..077fb21c5e18d9 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -146,6 +146,7 @@ if defined nobuild goto sign @rem Build the sln with msbuild. msbuild node.sln /m /t:%target% /p:Configuration=%config% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo if errorlevel 1 goto exit +if "%target%" == "Clean" goto exit :sign @rem Skip signing if the `nosign` option was specified.