Skip to content

Commit

Permalink
Workaround play-publisher issue 597
Browse files Browse the repository at this point in the history
  • Loading branch information
Catfriend1 committed Jun 17, 2019
1 parent ee687d3 commit 283c73d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_and_release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ SET UI_ANSWER=
SET /p UI_ANSWER=Are you ready to publish this release to GPlay? [y/n]
IF NOT "%UI_ANSWER%" == "y" goto :askUserReadyToPublish
REM
REM Workaround for play-publisher issue, see https://github.com/Triple-T/gradle-play-publisher/issues/597
:clearPlayPublisherCache
rd /s /q "app\build\generated\gpp" || rem
SET RESULT=%ERRORLEVEL%
IF "%RESULT%" == "32" TASKKILL /F /IM java.exe & goto :clearPlayPublisherCache
REM
REM Publish APK to GPlay
echo [INFO] Publishing APK to GPlay ...
call gradlew --quiet publishRelease
Expand Down

0 comments on commit 283c73d

Please sign in to comment.