Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save milankamilya/31eb6e1dc90dccdf5576a801ca80b62a to your computer and use it in GitHub Desktop.
Save milankamilya/31eb6e1dc90dccdf5576a801ca80b62a to your computer and use it in GitHub Desktop.
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 Scheme Name>",
export_method: "development",
export_options: {
signingStyle: "automatic",
teamID: "<Team ID>",
teamName: "<Team Name>",
uploadBitcode: false,
uploadSymbols: false
},
include_bitcode: false,
include_symbols: false,
)
hockey(
# Generate Hockey APP Token https://support.hockeyapp.net/kb/api/api-basics-and-authentication
api_token: "<Hockey app token for your account>",
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