Method: Fastlane::Actions::HockeyAction.example_code

Defined in:
fastlane/lib/fastlane/actions/hockey.rb

.example_codeObject



367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
# File 'fastlane/lib/fastlane/actions/hockey.rb', line 367

def self.example_code
  [
    'hockey(
      api_token: "...",
      ipa: "./app.ipa",
      notes: "Changelog"
    )',
    'hockey(
      api_token: "...",
      create_update: true,
      public_identifier: "....",
      bundle_short_version: "1.0.2",
      bundle_version: "1.0.2.145",
      ipa: "./my.msi",
      notes: "Changelog"
    )',
    '# You can bypass the CDN if you are uploading to Hockey and receive an SSL error (which can happen on corporate firewalls)
    hockey(
      api_token: "...",
      ipa: "./app.ipa",
      notes: "Changelog",
      bypass_cdn: true
    )'
  ]
end