Skip to content

Instantly share code, notes, and snippets.

@jmarkoff jmarkoff/Fastfile Secret

Created Nov 15, 2018
Embed
What would you like to do?
ENV['SUPPLY_JSON_KEY'] = 'key.json'
ENV['SUPPLY_DEVELOPER_ACCOUNT_ID'] = '111111111111000000000'
ENV['SUPPLY_APP_TITLE'] = 'APP TITLE'
desc "Create the private app on the Google Play store"
lane :create_private_app do
gradle(
task: 'assemble',
build_type: 'Release'
)
# Finds latest APK
apk_path = Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
create_app_on_managed_play_store(
json_key: ENV['SUPPLY_JSON_KEY'],
developer_account_id: ENV['SUPPLY_DEVELOPER_ACCOUNT_ID'],
app_title: ENV['SUPPLY_APP_TITLE'],
language: "en_US",
apk: apk_path
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.