Skip to content

Commit

Permalink
Remove unnecessary build_asset_folder_name variable in `upload_gute…
Browse files Browse the repository at this point in the history
…nberg_sourcemaps`
  • Loading branch information
fluiddot committed Mar 12, 2024
1 parent fe45679 commit 17ba9b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fastlane/lanes/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: <app><flavor><build_type>
# 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(
Expand Down

0 comments on commit 17ba9b9

Please sign in to comment.