Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update tag_build.bat
  • Loading branch information
trexinc committed Oct 23, 2017
1 parent d8934e0 commit 6229aff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion far/tag_build.bat
Expand Up @@ -28,8 +28,10 @@ echo --------------------------------------------------------------------
pause
echo.

if exist ..\.git goto git

for /f "tokens=3" %%f in ('svn info 2^>nul ^| find "Root:"') do set repo=%%f
if [%repo%] == [] goto git
if [%repo%] == [] goto error

set tag_path=%repo%/tags/%tag%

Expand All @@ -46,5 +48,8 @@ goto finish
git fetch && git tag %tag% origin/master && git push origin %tag%
goto finish

:error
echo "Something went wrong"

:finish
endlocal

0 comments on commit 6229aff

Please sign in to comment.