appveyor: fix version check

This commit is contained in:
Jacek Sieka 2018-09-06 12:07:42 -06:00
parent 5b743fcc7e
commit 5358543a00
No known key found for this signature in database
GPG Key ID: 6299FEB3EB6FA465
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ install:
) ELSE ( ) ELSE (
( CD Nim ) & ( CD Nim ) &
( git rev-parse HEAD > ..\\cur_ver.txt ) & ( git rev-parse HEAD > ..\\cur_ver.txt ) &
( fc ver.txt ..\\cur_ver.txt > nul ) & ( fc ver.txt ..\\cur_ver.txt || SET NEED_REBUILD=1 ) &
( IF NOT ERRORLEVEL == 0 SET NEED_REBUILD=1 ) &
( cd .. ) ( cd .. )
) )