Fastfile 823 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # This file contains the fastlane.tools configuration
  2. # You can find the documentation at https://docs.fastlane.tools
  3. #
  4. # For a list of all available actions, check out
  5. #
  6. # https://docs.fastlane.tools/actions
  7. #
  8. # For a list of all available plugins, check out
  9. #
  10. # https://docs.fastlane.tools/plugins/available-plugins
  11. #
  12. # Uncomment the line if you want fastlane to automatically update itself
  13. # update_fastlane
  14. default_platform(:android)
  15. platform :android do
  16. desc "Runs all the tests"
  17. lane :test do
  18. gradle(task: "test")
  19. end
  20. desc "Deploy a new version to the Google Play"
  21. lane :deploy do
  22. gradle(
  23. task: "bundle",
  24. build_type: "release",
  25. )
  26. upload_to_play_store(
  27. release_status: "draft",
  28. skip_upload_images: true,
  29. skip_upload_screenshots: true
  30. )
  31. end
  32. end