Skip to content

Commit

Permalink
Skip lintRelease exit code -1
Browse files Browse the repository at this point in the history
  • Loading branch information
Catfriend1 committed Dec 10, 2024
1 parent d422a56 commit 2271c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions App_build_and_release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ copy /y "%SCRIPT_PATH%app\src\main\play\release-notes\en-GB\beta.txt" "%SCRIPT_P
REM
echo [INFO] Running lint before building ...
REM
call gradlew --quiet lint%BUILD_FLAVOUR_RELEASE% & SET RESULT=%ERRORLEVEL%
IF NOT "!RESULT!" == "0" echo [ERROR] "gradlew lint%BUILD_FLAVOUR_RELEASE%" exited with code #%RESULT%. & goto :eos
call gradlew lint%BUILD_FLAVOUR_RELEASE% & SET RESULT=%ERRORLEVEL%
REM IF NOT "!RESULT!" == "0" echo [ERROR] "gradlew lint%BUILD_FLAVOUR_RELEASE%" exited with code #%RESULT%. & goto :eos
REM
call gradlew --quiet lint%BUILD_FLAVOUR_GPLAY% & SET RESULT=%ERRORLEVEL%
call gradlew lint%BUILD_FLAVOUR_GPLAY% & SET RESULT=%ERRORLEVEL%
IF NOT "!RESULT!" == "0" echo [ERROR] "gradlew lint%BUILD_FLAVOUR_GPLAY%" exited with code #%RESULT%. & goto :eos
REM
REM Building APK
Expand Down

0 comments on commit 2271c0f

Please sign in to comment.