From 17ba9b95a67a3439ea8906005c572e13deb7dc64 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Tue, 12 Mar 2024 13:43:21 +0100 Subject: [PATCH] Remove unnecessary `build_asset_folder_name` variable in `upload_gutenberg_sourcemaps` --- fastlane/lanes/build.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fastlane/lanes/build.rb b/fastlane/lanes/build.rb index cdd80a5db149..8d27a671dcfc 100644 --- a/fastlane/lanes/build.rb +++ b/fastlane/lanes/build.rb @@ -384,11 +384,7 @@ def upload_gutenberg_sourcemaps(app:, flavor:, build_type:, release_version:) project_slug = sentry_properties[:'defaults.project'] org_slug = sentry_properties[:'defaults.org'] - # The bundle and source map files are extracted from merged assets location created after building the app. - # The format is: - # E.g.: jetpackJalapenoDebug - build_asset_folder_name = "#{app.downcase}#{flavor}#{build_type}" - # Bundle and source map files are copied to a specific folder as part of the build process. + # Bundle and source map files are copied to a specific folder as part of the build process. bundle_source_map_path = File.join(PROJECT_ROOT_FOLDER, 'WordPress', 'build', 'react-native-bundle-source-map') sentry_upload_sourcemap(