From cc4baaf936e0e8d98fabef367b7d834e1f9786c2 Mon Sep 17 00:00:00 2001 From: Philip Niedertscheider Date: Wed, 24 Sep 2025 11:06:54 +0200 Subject: [PATCH 1/4] revert: Remove broken sentry_upload_build calls in Fastfile This reverts commit ad5eff16c1da2c98bdeb230f6760866c264a4110. --- fastlane/Fastfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index ff2f1c0..067d06a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -39,12 +39,12 @@ platform :ios do ) # Upload the archive to Sentry for further analysis - # sentry_upload_build( - # auth_token: ENV["SENTRY_AUTH_TOKEN"], - # org_slug: "techprimate", - # project_slug: "flinky", - # xcarchive_path: "./Flinky.xcarchive", - # ) if is_ci + sentry_upload_build( + auth_token: ENV["SENTRY_AUTH_TOKEN"], + org_slug: "techprimate", + project_slug: "flinky", + xcarchive_path: "./Flinky.xcarchive", + ) if is_ci end desc "Generate app icon sizes from source image using fastlane-plugin-appicon" @@ -214,12 +214,12 @@ platform :ios do ) # Upload the xcarchive to Sentry for further analysis - # sentry_upload_build( - # auth_token: ENV["SENTRY_AUTH_TOKEN"], - # org_slug: "techprimate", - # project_slug: "flinky", - # xcarchive_path: "./Flinky.xcarchive", - # ) + sentry_upload_build( + auth_token: ENV["SENTRY_AUTH_TOKEN"], + org_slug: "techprimate", + project_slug: "flinky", + xcarchive_path: "./Flinky.xcarchive", + ) # Associate commits with the release sentry_set_commits( From 2c24eb061e093c711de5fc5a062ad2308e116519 Mon Sep 17 00:00:00 2001 From: Philip Niedertscheider Date: Mon, 29 Sep 2025 15:22:30 +0200 Subject: [PATCH 2/4] Add verbose logging --- fastlane/Fastfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 067d06a..5cef019 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -39,12 +39,15 @@ platform :ios do ) # Upload the archive to Sentry for further analysis + original_verbose = FastlaneCore::Globals.verbose + FastlaneCore::Globals.verbose = true # For debugging as it's experimental sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) if is_ci + FastlaneCore::Globals.verbose = original_verbose end desc "Generate app icon sizes from source image using fastlane-plugin-appicon" @@ -214,12 +217,15 @@ platform :ios do ) # Upload the xcarchive to Sentry for further analysis + original_verbose = FastlaneCore::Globals.verbose + FastlaneCore::Globals.verbose = true # For debugging as it's experimental sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) + FastlaneCore::Globals.verbose = original_verbose # Associate commits with the release sentry_set_commits( From de5b4fd9201ec814628420a505a66de320dad727 Mon Sep 17 00:00:00 2001 From: Philip Niedertscheider Date: Mon, 29 Sep 2025 15:48:15 +0200 Subject: [PATCH 3/4] Fix verbose logging --- Gemfile.lock | 12 ++++++------ fastlane/Fastfile | 14 ++++++++++---- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 77c21c7..7f190ea 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/getsentry/sentry-fastlane-plugin.git - revision: 815cc447666b9c54cb32b3ffa864f453d68aaebb + revision: 2dee10590e098f551d37de176a9acd9bca665ae2 branch: master specs: fastlane-plugin-sentry (1.33.0) @@ -19,8 +19,8 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.4.0) - aws-partitions (1.1159.0) - aws-sdk-core (3.232.0) + aws-partitions (1.1166.0) + aws-sdk-core (3.233.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.992.0) aws-sigv4 (~> 1.9) @@ -28,10 +28,10 @@ GEM bigdecimal jmespath (~> 1, >= 1.6.1) logger - aws-sdk-kms (1.112.0) + aws-sdk-kms (1.113.0) aws-sdk-core (~> 3, >= 3.231.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.199.0) + aws-sdk-s3 (1.199.1) aws-sdk-core (~> 3, >= 3.231.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) @@ -172,7 +172,7 @@ GEM httpclient (2.9.0) mutex_m jmespath (1.6.2) - json (2.13.2) + json (2.15.0) jwt (2.10.2) base64 logger (1.7.0) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 5cef019..2339398 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -39,14 +39,17 @@ platform :ios do ) # Upload the archive to Sentry for further analysis - original_verbose = FastlaneCore::Globals.verbose - FastlaneCore::Globals.verbose = true # For debugging as it's experimental + # + # Store original verbose state and enable verbose logging for debugging + original_verbose = FastlaneCore::Globals.verbose? + FastlaneCore::Globals.verbose = true sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) if is_ci + # Restore original verbose state FastlaneCore::Globals.verbose = original_verbose end @@ -217,14 +220,17 @@ platform :ios do ) # Upload the xcarchive to Sentry for further analysis - original_verbose = FastlaneCore::Globals.verbose - FastlaneCore::Globals.verbose = true # For debugging as it's experimental + # + # Store original verbose state and enable verbose logging for debugging + original_verbose = FastlaneCore::Globals.verbose? + FastlaneCore::Globals.verbose = true sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) + # Restore original verbose state FastlaneCore::Globals.verbose = original_verbose # Associate commits with the release From cf579522a130af1bc0307a4b51acb1a649670f99 Mon Sep 17 00:00:00 2001 From: Philip Niedertscheider Date: Mon, 29 Sep 2025 15:55:07 +0200 Subject: [PATCH 4/4] revert verbosity changes --- fastlane/Fastfile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 2339398..025513c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -39,18 +39,12 @@ platform :ios do ) # Upload the archive to Sentry for further analysis - # - # Store original verbose state and enable verbose logging for debugging - original_verbose = FastlaneCore::Globals.verbose? - FastlaneCore::Globals.verbose = true sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) if is_ci - # Restore original verbose state - FastlaneCore::Globals.verbose = original_verbose end desc "Generate app icon sizes from source image using fastlane-plugin-appicon" @@ -220,19 +214,13 @@ platform :ios do ) # Upload the xcarchive to Sentry for further analysis - # - # Store original verbose state and enable verbose logging for debugging - original_verbose = FastlaneCore::Globals.verbose? - FastlaneCore::Globals.verbose = true sentry_upload_build( auth_token: ENV["SENTRY_AUTH_TOKEN"], org_slug: "techprimate", project_slug: "flinky", xcarchive_path: "./Flinky.xcarchive", ) - # Restore original verbose state - FastlaneCore::Globals.verbose = original_verbose - + # Associate commits with the release sentry_set_commits( auth_token: ENV["SENTRY_AUTH_TOKEN"],