简体   繁体   中英

Is it possible to publish multiple APKs of different apps to Google Play using Fastlane?

I have multiple apps on Google Play and I would like to publish all APKs using some kind of script, to avoid publishing manually one by one.

I've read about fastlane, but I couldn't find anything in the documentation saying it's possible to publish several apps at the same time.

Is this possible using fastlane or any other tool?

it should be possible using supply from fastlane

eg: Fastfile

lane :deploy_all do
   deploy_single_apk(apk: "file1.apk", package_name: "my.app.package2")
   deploy_single_apk(apk: "file2.apk", package_name: "my.app.package2")
end


lane :deploy_single_apk do | options |
  supply(apk: options[:apk],
         package_name: options[:package_name],
         key: "google_play_key.json"
         skip_upload_metadata:true,
         skip_upload_images: true, 
         skip_upload_screenshots:true
  )
end

calling it with fastlane deploy_all would upload 2 apks to 2 apps on play.

however if you also wan't to update screenshots/metadata/images - you'd need a bit more work to do, as it requires a metdata folder per app.

let me know if this helps you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM