Skip to content

Instantly share code, notes, and snippets.

@wbroek
Created January 12, 2018 10:45
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wbroek/9309c60991f9f46912343e4ab9220838 to your computer and use it in GitHub Desktop.
Save wbroek/9309c60991f9f46912343e4ab9220838 to your computer and use it in GitHub Desktop.
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