Created
January 12, 2018 10:45
-
-
Save wbroek/9309c60991f9f46912343e4ab9220838 to your computer and use it in GitHub Desktop.
HockeyApp lane for Fastlane for Android
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
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