Open janpio opened 6 years ago
Oh nice, fastlane-plugin-cordova alread does this, so we are doing this:
ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'] = "./platforms/android/build/outputs/apk/android-#{build_type}.apk" ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'] = "./platforms/ios/build/device/#{app_name}.
Neat.
Ok seems to be buggy right now: https://github.com/bamlab/fastlane-plugin-cordova/issues/7
Something like this can be used when you built before with
gradle
:This variable is also used by other actions automatically: https://github.com/fastlane/fastlane/blob/3ce48e60491805749f9b95b11e159376777fe688/fastlane/lib/fastlane/actions/supply.rb#L15
So having something like this called
IONIC_APK_OUTPUT_PATH
andIONIC_IOS_OUTPUT_PATH
could be useful for use.