[Android] Fastlane: upload both apk and bundles for internal release
Nicolas Pomepuy
git at videolan.org
Tue Sep 24 10:04:42 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Sep 24 11:41:00 2024 +0200| [61ff5ebaf833baf2bf9c466d7b5211787a384b7b] | committer: Nicolas Pomepuy
Fastlane: upload both apk and bundles for internal release
> https://code.videolan.org/videolan/vlc-android/commit/61ff5ebaf833baf2bf9c466d7b5211787a384b7b
---
buildsystem/automation/fastlane/Fastfile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/buildsystem/automation/fastlane/Fastfile b/buildsystem/automation/fastlane/Fastfile
index 385b741076..628c42b4b3 100644
--- a/buildsystem/automation/fastlane/Fastfile
+++ b/buildsystem/automation/fastlane/Fastfile
@@ -49,6 +49,11 @@ platform :android do
}
return files
end
+ def getAabList()
+ files = Array.new
+ files.push(@apkPath+"app-release-signed.aab")
+ return files
+ end
desc "Runs all the tests"
lane :test do
@@ -84,6 +89,7 @@ platform :android do
lane :deploy_internal do |options|
checkAPKFileExists options[:version], false
+ upload_to_play_store(skip_upload_metadata:true, skip_upload_changelogs:true, track: 'internal', skip_upload_images:true, skip_upload_screenshots:true, skip_upload_apk:false, release_status:"draft", aab_paths:getAabList())
upload_to_play_store(skip_upload_metadata:true, skip_upload_changelogs:true, track: 'internal', skip_upload_images:true, skip_upload_screenshots:true, skip_upload_apk:false, release_status:"draft", apk_paths:getFileList(options[:version]))
slack(message: 'Successfully created a new internal draft for '+options[:version])
end
More information about the Android
mailing list