feat/add-android-pipeline #4

Merged
hugo merged 9 commits from feat/add-android-pipeline into main 2023-04-25 11:54:21 +00:00
Showing only changes of commit df8a15dfa4 - Show all commits

View File

@ -10,13 +10,13 @@ module Fastlane
Helper::AndroidCdHelper.decrypt_android_keys('.') Helper::AndroidCdHelper.decrypt_android_keys('.')
# Clean the project before building # Clean the project before building
gradle(task: "clean") Fastlane::Actions.gradle(task: "clean")
# Set the build number based on the number of commits # Set the build number based on the number of commits
build_number = number_of_commits() build_number = Fastlane::Actions.number_of_commits()
# Build the Android App Bundle # Build the Android App Bundle
gradle( Fastlane::Actions.gradle(
task: "bundle", task: "bundle",
build_type: "Release", build_type: "Release",
print_command: true, print_command: true,
@ -26,7 +26,7 @@ module Fastlane
) )
# Upload the Android App Bundle to the Play Store # Upload the Android App Bundle to the Play Store
upload_to_play_store( Fastlane::Actions.upload_to_play_store(
track: 'internal', track: 'internal',
json_key: './service_account_key.json', json_key: './service_account_key.json',
aab: '../build/app/outputs/bundle/release/app-release.aab', aab: '../build/app/outputs/bundle/release/app-release.aab',