Skip to content

Instantly share code, notes, and snippets.

@wbroek
Created Jan 12, 2018
Embed
What would you like to do?
HockeyApp lane for Fastlane for Android
default_platform :android
platform :android do
desc "Submit a new Beta Build to Hockey App"
lane :beta do
changelog = "";
if !is_ci?
changelog = prompt(text: "Please enter what's changed in one sentenence: ")
end
increment_version_code(
gradle_file_path: "./app/build.gradle"
)
gradle(task: "assembleRelease")
hockey(
api_token: "HOCKEY APP API TOKEN",
ipa: "#{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]}",
notify: "0",
notes: changelog,
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment