From 9dae1eb52deeb0ac9cc7d0965bc9ee1fdbb87025 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Mon, 22 Jun 2020 13:14:17 +0200 Subject: [PATCH] Add beta dist --- .drone.yml | 9 +++++++++ ios/fastlane/Fastfile | 18 +++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3a468e3..9da4dbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -140,6 +140,7 @@ trigger: - push branch: - master + - feature/external-testers-ios platform: os: darwin @@ -169,6 +170,14 @@ steps: from_secret: fastlane_session KEYCHAIN_PASSWORD: from_secret: keychain_password + CONTACT_EMAIL: + from_secret: contact_email + CONTACT_FIRST_NAME: + from_secret: contact_first_name + CONTACT_LAST_NAME: + from_secret: contact_last_name + CONTACT_PHONE: + from_secret: contact_phone commands: - cd ios - fastlane ios signing diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index f490ff1..959662a 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -20,7 +20,23 @@ platform :ios do lane :beta do match(type: "appstore", readonly: true) gym - upload_to_testflight + upload_to_testflight( + beta_app_feedback_email: "hello@vikunja.io", + beta_app_description: "Automated Vikunja App Build", + demo_account_required: true, + distribute_external: true, + groups: ["PublicBeta"], + changelog: "Automated Vikunja Build", + beta_app_review_info: { + contact_email: ENV["CONTACT_EMAIL"], + contact_first_name: ENV["CONTACT_FIRST_NAME"], + contact_last_name: ENV["CONTACT_LAST_NAME"], + contact_phone: ENV["CONTACT_PHONE"], + demo_account_name: "demo", + demo_account_password: "demo", + notes: "Please use https://try.vikunja.io as URL" + } + ) end lane :signing do match(type: "appstore", readonly: true)