Guest User

Untitled

a guest
Dec 14th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. build_release_android:
  2. stage: build_release_android
  3. script:
  4. - mkdir /PlayJson #make temp directory named PlayJson in root of project
  5. - "echo $PLAY_STORE_JSON > /PlayJson/play-store-key.json" # copy git variable value to play-store-key.json file
  6. - ./gradlew publishApkRelease # command to publish app on play store
  7. only:
  8. - master #set trigger for CICD if push or merge in master branch
  9. artifacts:
  10. paths:
  11. - ./app/build/outputs/ # set artifact path which store your APK file
Add Comment
Please, Sign In to add comment