Skip to content

Commit

Permalink
avniproject/avni-product#1374 | Corrected bundle path in sourcemap u…
Browse files Browse the repository at this point in the history
…pload
  • Loading branch information
mahalakshme authored and petmongrels committed Sep 13, 2023
1 parent 096bbe8 commit 8cb46ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ip:=$(if $(ip),$(ip),$(shell ifconfig | grep -A 2 'en0' | grep 'inet ' | tail -1
ip:=$(if $(ip),$(ip),$(shell ifconfig | grep -A 4 'en0' | grep 'inet ' | tail -1 | xargs | cut -d ' ' -f 2 | cut -d ':' -f 2))
AVNI_HOST?=$(ip)
sha:=$(shell git rev-parse --short=4 HEAD)
flavor_folder_uppercase_path:=$(shell echo "$(flavor)" | awk '{print toupper(substr($$0,1,1)) tolower(substr($$0,2))}')

ifndef flavor
flavor:=generic
Expand Down Expand Up @@ -96,7 +97,7 @@ define _upload_release_sourcemap
--api-key $$$(bugsnag_env_var_name) \
--app-version $(versionName) \
--minified-file assets/createBundle$(flavor_folder_uppercase_path)ReleaseJsAndAssets/index.android.bundle \
--source-map $(sourcemap_file_path) \
--source-map sourcemaps/react/$(flavor)Release/index.android.bundle.map \
--overwrite \
--minified-url "index.android.bundle" \
--upload-sources
Expand Down

0 comments on commit 8cb46ca

Please sign in to comment.