Skip to content

Commit

Permalink
fastlane: Proper configuration for signed app bundle deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto97 committed Aug 15, 2021
1 parent e748884 commit a5fa869
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ freeline/
freeline_project_description.json

# fastlane
.env*
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
Expand Down
10 changes: 9 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ platform :android do

desc "Deploy a new version to the Google Play"
lane :deploy do
gradle(task: "clean assembleRelease")
gradle(
task: "clean bundleRelease",
properties: {
"android.injected.signing.store.file" => ENV["KEYSTORE_PATH"],
"android.injected.signing.store.password" => ENV["KEYSTORE_PASSWORD"],
"android.injected.signing.key.alias" => ENV["KEY_ALIAS"],
"android.injected.signing.key.password" => ENV["KEY_PASSWORD"],
}
)
upload_to_play_store
end
end

0 comments on commit a5fa869

Please sign in to comment.