Skip to content

Instantly share code, notes, and snippets.

@jmarkoff
Created November 15, 2018 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmarkoff/f8f11cefb5067cf1d1adcfa0c285c9d6 to your computer and use it in GitHub Desktop.
Save jmarkoff/f8f11cefb5067cf1d1adcfa0c285c9d6 to your computer and use it in GitHub Desktop.
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