Use BUILD_COUNTER variable instead of BUILD_NUMBER from TeamCity

This commit is contained in:
Marc Durdin 2017-06-21 14:41:52 +07:00
parent 840299a786
commit c81ca7e41e

View file

@ -10,10 +10,10 @@ set SOURCE="."
rem Get build version -- if not building in TeamCity, then always use 300
if "%BUILD_NUMBER%"=="" (
if "%BUILD_COUNTER%"=="" (
set BUILD=300
) else (
set BUILD=%BUILD_NUMBER%
set BUILD=%BUILD_COUNTER%
)
if "%CLOSURECOMPILERPATH%"=="" set CLOSURECOMPILERPATH=..\tools