Fastfile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. lane :beta do
  33. gradle(
  34. task: "bundle",
  35. build_type: "release",
  36. )
  37. upload_to_play_store(
  38. track: "beta",
  39. skip_upload_images: true,
  40. skip_upload_screenshots: true
  41. )
  42. end
  43. end