Skip to content
Permalink
Browse files

update tag_build.bat

  • Loading branch information...
trexinc committed Oct 23, 2017
1 parent d8934e0 commit 6229affc20ce039b34f268bfedde2c33bdbffcf4
Showing with 6 additions and 1 deletion.
  1. +6 −1 far/tag_build.bat
@@ -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%

@@ -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.
You can’t perform that action at this time.