mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed incorrect revision number generated by Build.bat due to multiple branches
This commit is contained in:
parent
22c5d6a340
commit
6490dad2dc
@ -39,7 +39,7 @@ set GIT=%GIT:Program Files\=Program Files (x86)\%
|
|||||||
if not exist "%GIT%" echo ERROR: git.exe not found & goto END
|
if not exist "%GIT%" echo ERROR: git.exe not found & goto END
|
||||||
:GITFOUND
|
:GITFOUND
|
||||||
set /a REVISION=0
|
set /a REVISION=0
|
||||||
for /f "usebackq delims= " %%G in (`"%GIT%" rev-list --all`) do set /a REVISION+=1
|
for /f "usebackq delims= " %%G in (`"%GIT%" rev-list master`) do set /a REVISION+=1
|
||||||
goto UPDATEVERSION
|
goto UPDATEVERSION
|
||||||
|
|
||||||
:: svn
|
:: svn
|
||||||
|
Loading…
Reference in New Issue
Block a user