Commit 7d061abc authored by Robin Fischer's avatar Robin Fischer

Rename artifact in fastlane

parent e266a497
......@@ -29,14 +29,16 @@ platform :android do
apk_path = lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
aab_path = lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
target_path = ENV["FL_PACKAGE_BUILD_PATH"]
if apk_path
UI.message("APK: " + apk_path)
sh("export GRADLE_APK_OUTPUT_PATH=" + apk_path)
UI.message("APK: " + apk_path + " to " + target_path)
sh("mv #{apk_path} #{target_path}")
end
if aab_path
UI.message("AAB: " + aab_path)
ENV["GRADLE_AAB_OUTPUT_PATH"] = aab_path
UI.message("AAB: " + aab_path + " to " + target_path)
sh("mv #{aab_path} #{target_path}")
end
end
......
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