Skip to content

Commit

Permalink
SyncthingNative_update_and_build: Revert "go.mod" to checkout state a…
Browse files Browse the repository at this point in the history
…fter build
  • Loading branch information
Catfriend1 committed Sep 22, 2019
1 parent 1b8fed3 commit 1dbce80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SyncthingNative_update_and_build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ SET RESULT=%ERRORLEVEL%
IF "%USE_GO_DEV%" == "1" call :revertGoDev
IF NOT "%RESULT%" == "0" echo [ERROR] gradlew buildNative FAILED. & goto :eos
REM
echo [INFO] Reverting "go.mod" to checkout state ...
cd /d "%SCRIPT_PATH%syncthing\src\github.com\syncthing\syncthing"
git checkout -- go.mod
cd /d "%SCRIPT_PATH%"
REM
echo [INFO] Checking if SyncthingNative was built successfully ...
REM
SET LIBCOUNT=
Expand Down

0 comments on commit 1dbce80

Please sign in to comment.