Skip to content

Instantly share code, notes, and snippets.

@wbroek
Last active October 8, 2019 10:19
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/92036865bd3da62dff7fff135448c8c2 to your computer and use it in GitHub Desktop.
Save wbroek/92036865bd3da62dff7fff135448c8c2 to your computer and use it in GitHub Desktop.
HockeyApp lane for Fastlane for iOS
default_platform :ios
platform :ios do
desc "Submit a new Beta Build to Hockey App"
lane :beta do
if !is_ci?
changelog = prompt(text: "Please enter what's changed in one sentenence: ")
end
increment_build_number
gym(
scheme: "XCODE BUILD SCHEME",
export_method: "enterprise",
export_options: {
provisioningProfiles: {
"BUNDLE IDENTIFIER" => "PROVISION PROFILE NAME"
}
},
include_bitcode: false,
include_symbols: true,
)
hockey(
api_token: "HOCKEYAPP API TOKEN",
ipa: "#{lane_context[SharedValues::IPA_OUTPUT_PATH]}",
dsym: "#{lane_context[SharedValues::DSYM_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