Commit 5572a6e5 authored by Robin Fischer's avatar Robin Fischer

Only print when available

parent f77193ed
......@@ -27,10 +27,17 @@ platform :android do
# Expects FL_GRADLE_PROJECT_DIR
build_android_app()
UI.message("APK: " + lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH])
UI.message("AAB: " + lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH])
ENV["GRADLE_APK_OUTPUT_PATH"] = lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
ENV["GRADLE_AAB_OUTPUT_PATH"] = lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
apk_path = lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
abb_path = lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
if apk_path
UI.message("APK: " + apk_path)
ENV["GRADLE_APK_OUTPUT_PATH"] = apk_path
end
if aab_path
UI.message("AAB: " + aab_path)
ENV["GRADLE_AAB_OUTPUT_PATH"] = aab_path
end
end
lane :xamarin_build do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment