tryouts

Upload a new build to Tryouts

More information: http://tryouts.readthedocs.org/en/latest/releases.html#create-release

tryouts
Supported platforms ios, android
Author @alicertel

1 Example

tryouts(
  api_token: "...",
  app_id: "application-id",
  build_file: "test.ipa",
)

Parameters

Key Description Default
app_id Tryouts application hash
api_token API Token (api_key:api_secret) for Tryouts Access
build_file Path to your IPA or APK file. Optional if you use the gym or xcodebuild action *
notes Release notes
notes_path Release notes text file path. Overrides the :notes parameter
notify Notify testers? 0 for no 1
status 2 to make your release public. Release will be distributed to available testers. 1 to make your release private. Release won't be distributed to testers. This also prevents release from showing up for SDK update 2

* = default value is dependent on the user's system


Lane Variables

Actions can communicate with each other using a shared hash lane_context, that can be accessed in other actions, plugins or your lanes: lane_context[SharedValues:XYZ]. The tryouts action generates the following Lane Variables:

SharedValue Description
SharedValues::TRYOUTS_BUILD_INFORMATION Contains release info like :application_name, :download_url. See http://tryouts.readthedocs.org/en/latest/releases.html#create-release

To get more information check the Lanes documentation.


Documentation

To show the documentation in your terminal, run

fastlane action tryouts

CLI

It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal

fastlane run tryouts

To pass parameters, make use of the : symbol, for example

fastlane run tryouts parameter1:"value1" parameter2:"value2"

It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"). Hashes are not currently supported.

It is recommended to add all fastlane actions you use to your Fastfile.


Source code

This action, just like the rest of fastlane, is fully open source, view the source code on GitHub


Back to actions