mirror of https://github.com/tooot-app/app
Update Fastfile
This commit is contained in:
parent
30c4d8a6a3
commit
7e08e491d3
|
@ -151,6 +151,21 @@ private_lane :build_android do
|
||||||
skip_upload_images: true,
|
skip_upload_images: true,
|
||||||
skip_upload_screenshots: true
|
skip_upload_screenshots: true
|
||||||
)
|
)
|
||||||
|
build_android_app(
|
||||||
|
task: 'assemble',
|
||||||
|
build_type: 'release',
|
||||||
|
project_dir: "./android",
|
||||||
|
print_command: false,
|
||||||
|
print_command_output: false,
|
||||||
|
properties: {
|
||||||
|
"expoSDK" => VERSIONS[:expo],
|
||||||
|
"releaseChannel" => RELEASE_CHANNEL,
|
||||||
|
"android.injected.signing.store.file" => "#{File.expand_path('..', Dir.pwd)}/android/tooot.jks",
|
||||||
|
"android.injected.signing.store.password" => ENV["ANDROID_KEYSTORE_PASSWORD"],
|
||||||
|
"android.injected.signing.key.alias" => ENV["ANDROID_KEYSTORE_ALIAS"],
|
||||||
|
"android.injected.signing.key.password" => ENV["ANDROID_KEYSTORE_KEY_PASSWORD"],
|
||||||
|
}
|
||||||
|
)
|
||||||
sh "mv #{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]} #{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"
|
sh "mv #{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]} #{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"
|
||||||
when "release"
|
when "release"
|
||||||
prepare_playstore_android
|
prepare_playstore_android
|
||||||
|
@ -220,4 +235,4 @@ lane :build do
|
||||||
end
|
end
|
||||||
expo_release
|
expo_release
|
||||||
rocket
|
rocket
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue