Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-03-01 04:56:37 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-03-01 05:44:31 +0400
commitf0f87d8afb9ce7bb58ea79eceb8b89574dc45bfb (patch)
treec59a469e79916531c20cf53232316e3114cb3416 /vcbuild.bat
parent4926ffd14be0c4c53f63915d5ebf0ada3190b0ae (diff)
build: windows should append date if nightly
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 0a2bd5e1c9b..bf8074fe772 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -133,6 +133,12 @@ if not defined msi goto run
python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt"
if not errorlevel 0 echo Cannot determine current version of node.js & goto exit
for /F "tokens=*" %%i in (%temp%\node_version.txt) do set NODE_VERSION=%%i
+
+if not defined NIGHTLY goto msibuild
+set NODE_VERSION=%NODE_VERSION%-%date:~10,4%%date:~4,2%%date:~7,2%
+
+:msibuild
+echo Building node-%NODE_VERSION%
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%config% /p:Platform=%msiplatform% /p:NodeVersion=%NODE_VERSION% %noetw_msi_arg% %noperfctr_msi_arg% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
if errorlevel 1 goto exit