summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 849374b593..0c9b0b285a 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -136,7 +136,8 @@ if errorlevel 1 goto exit
@rem Skip signing if the `nosign` option was specified.
if defined nosign goto licensertf
-signtool sign /a Release\node.exe
+signtool sign /a /d "Node.js" /t http://timestamp.globalsign.com/scripts/timestamp.dll Release\node.exe
+if errorlevel 1 echo Failed to sign exe&goto exit
:licensertf
@rem Skip license.rtf generation if not requested.
@@ -159,7 +160,8 @@ msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%co
if errorlevel 1 goto exit
if defined nosign goto run
-signtool sign /a Release\node-v%NODE_VERSION%-%msiplatform%.msi
+signtool sign /a /d "Node.js" /t http://timestamp.globalsign.com/scripts/timestamp.dll Release\node-v%NODE_VERSION%-%msiplatform%.msi
+if errorlevel 1 echo Failed to sign msi&goto exit
:run
@rem Run tests if requested.