eac_upload plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-eac_upload, add it to your project by running:

fastlane add_plugin eac_upload

About eac_upload

Upload IPA/APK/AAB to Enterprise App Cloud

This requires a valid API Token from https://www.enterprise-app-cloud.com

Example

In its most basic form, you can just call the action with an api token and it will automatically use the output of any preceding gym or gradle action

eac(
    token: "API_KEY"
)

Alternatively you can provide the token with the environment variable FL_EAC_TOKEN and omit it from the call

eac()

In any case where you produce multiple build files in multiple steps that you all want to upload, the artifacts from the first step will remain available in the lane context, so they have to explicitly be ignored in any following steps

# Build APK
gradle(
        gradle_path: gradle_path,
        task: "clean assembleLiveDebug"
    )
eac()

# Build AAB
gradle(
    gradle_path: gradle_path,
    task: "bundleLiveDebug",
)
eac(ignore_apk: true)

The installation url of the uploaded app will be available in the lane context under FL_EAC_INSTALL_URL

eac()
slack(pretext: "*Neue Version (iOS) - #{version} (#{build})*",
      message: Actions.lane_context[SharedValues::FL_EAC_INSTALL_URL])

Should an app be available in multiple teams, you can pass the target team in an additional parameter

eac(
    token: "API_KEY",
    team_slug: "second_team"
)

You can add a change with the changelog parameter

eac(
    changelog: "Some changelog text"
)

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.