Fixed UpdateVersion.bat

This commit is contained in:
Birunthan Mohanathas 2012-03-31 15:27:06 +03:00
parent 7d0706c56a
commit a9e33cea80

View File

@ -7,8 +7,9 @@ set SUBWCREV=%PROGRAMFILES%\TortoiseSVN\bin\SubWCRev.exe
set GIT=%PROGRAMFILES%\Git\bin\git.exe set GIT=%PROGRAMFILES%\Git\bin\git.exe
set VERSION=2.3.0 set VERSION=2.3.0
set REVISION=1 set REVISION=1
set ISBETA=true
if "%1" == "RELEASE" set ISBETA=false
if "%1" == "BUILDVERSION" goto BUILDVERSION if "%1" == "BUILDVERSION" goto BUILDVERSION
echo Rainmeter Build echo Rainmeter Build
echo ---------------------------------------------- echo ----------------------------------------------
@ -26,11 +27,6 @@ set MAKENSIS=%MAKENSIS:Program Files\=Program Files (x86)\%
if not exist "%MAKENSIS%" echo ERROR: MakeNSIS.exe not found & goto END if not exist "%MAKENSIS%" echo ERROR: MakeNSIS.exe not found & goto END
:NSISFOUND :NSISFOUND
set ISBETA=true
if "%1" == "RELEASE" (
set ISBETA=false
)
:BUILDVERSION :BUILDVERSION
if exist "..\.svn" goto SVN if exist "..\.svn" goto SVN