-
-
Save jmarkoff/f8f11cefb5067cf1d1adcfa0c285c9d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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