From 9dae1eb52deeb0ac9cc7d0965bc9ee1fdbb87025 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Mon, 22 Jun 2020 13:14:17 +0200 Subject: [PATCH 1/4] 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) -- 2.40.1 From ffdde0b20a093ef7d98665d3adfe7886f9e836b2 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Mon, 22 Jun 2020 13:20:12 +0200 Subject: [PATCH 2/4] Add push --- ios/Runner.xcodeproj/project.pbxproj | 4 ++++ ios/Runner/Runner.entitlements | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 ios/Runner/Runner.entitlements diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index cea2653..4715037 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -45,6 +45,7 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + BD0C880424A0CB4300291E83 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; C102A622A93B95B5704BDD24 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; CA78C9A9831542FDDB6FB31E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -111,6 +112,7 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( + BD0C880424A0CB4300291E83 /* Runner.entitlements */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, @@ -417,6 +419,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = Z48VLBM2R7; @@ -448,6 +451,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements new file mode 100644 index 0000000..903def2 --- /dev/null +++ b/ios/Runner/Runner.entitlements @@ -0,0 +1,8 @@ + + + + + aps-environment + development + + -- 2.40.1 From 5107757d63a2f7b7b6a2a3dcc47c818ec05d9194 Mon Sep 17 00:00:00 2001 From: JonasFranz Date: Wed, 24 Jun 2020 08:31:23 +0000 Subject: [PATCH 3/4] Remove test branch from pipeline --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9da4dbb..f33ddec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -140,7 +140,6 @@ trigger: - push branch: - master - - feature/external-testers-ios platform: os: darwin -- 2.40.1 From 3a203a314fbb80cc6ed2cc2cbf59229d81884bef Mon Sep 17 00:00:00 2001 From: JonasFranz Date: Wed, 24 Jun 2020 08:32:56 +0000 Subject: [PATCH 4/4] Update 'lib/constants.dart' --- lib/constants.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constants.dart b/lib/constants.dart index edf467d..fb17b2a 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -1,2 +1,2 @@ const SENTRY_DSN = - 'https://ab786a1feac7418d87187465b6f30ee0@sentry.k8s.jfdev.de/2'; + 'https://b070ed4bd1d043428db6fe7d1ce57908@sentry.kolaente.de/5'; -- 2.40.1