Skip to content

Commit

Permalink
Build bundle instead apk for play store
Browse files Browse the repository at this point in the history
  • Loading branch information
siper committed Jun 2, 2024
1 parent 5150da5 commit 348afaa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ platform :android do
desc "Lane for distributing app with Play Store"
lane :play_store do
gradle(
task: "assemble",
task: "bundle",
build_type: "Release",
properties: {
"android.injected.signing.store.file" => "/home/runner/work/YouAMP/YouAMP/keystore.jks",
Expand All @@ -37,12 +37,15 @@ platform :android do
)
track = 'release'
if ENV['VERSION_TAG'].include? 'alpha'
track = 'internal'
track = 'alpha'
elsif ENV['VERSION_TAG'].include? 'beta'
track = 'beta'
else
track = 'release'
end
upload_to_play_store(track: track)
upload_to_play_store(
track: track,
skip_upload_apk: true
)
end
end

0 comments on commit 348afaa

Please sign in to comment.