Add Fastlane action to upload Google Play metadata
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
e08b496c38
commit
f567b59243
|
@ -179,9 +179,10 @@ platform :android do
|
|||
default_payloads: []
|
||||
)
|
||||
end
|
||||
|
||||
desc "Deploy a new alpha (public) build to Google Play"
|
||||
desc "expects GOOGLE_PLAY_JSON_KEY environment variable"
|
||||
lane :release do
|
||||
desc "Deploy a new alpha (public) build to Google Play"
|
||||
desc "expects GOOGLE_PLAY_JSON_KEY environment variable"
|
||||
upload_to_play_store(
|
||||
track: "alpha",
|
||||
apk: "android/app/build/outputs/apk/release/app-release.apk",
|
||||
|
@ -194,6 +195,17 @@ platform :android do
|
|||
)
|
||||
end
|
||||
|
||||
desc "Upload metadata to Google Play."
|
||||
desc "Metadata is always updated when builds are uploaded,"
|
||||
desc "but this action can update metadata without uploading a build."
|
||||
desc "expects GOOGLE_PLAY_JSON_KEY environment variable"
|
||||
lane :upload_metadata do
|
||||
upload_to_play_store(
|
||||
skip_upload_apk: true,
|
||||
json_key_data: ENV["GOOGLE_PLAY_JSON_KEY"]
|
||||
)
|
||||
end
|
||||
|
||||
desc "`fastlane android upload_diawi` - upload .apk to diawi"
|
||||
desc "also notifies in a GitHub comments and in Slack #jenkins channel"
|
||||
desc "expects to have an .apk prepared: `android/app/build/outputs/apk/release/app-release.apk`"
|
||||
|
|
Loading…
Reference in New Issue