File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,10 @@ RUN if [ -z "$FOSSA_API_KEY" ] ; then \
5757RUN if [ -z "$NEW_RELIC_API_KEY" ] ; then \
5858 echo --SKIPPING SOURCE MAP UPLOAD ; \
5959 else \
60- filename=$(ls /src/client/dist/assets/*.js | grep -v '.map.js' | xargs -n 1 basename) && \
60+ filename=$(ls /client/dist/assets/*.js | grep -v '.map.js' | xargs -n 1 basename) && \
61+ echo "JavaScript file is: $filename" && \
6162 curl -H "Api-Key: $NEW_RELIC_API_KEY" \
62- -F "sourcemap=/src/ client/dist/assets/$filename.map" \
63+ -F "sourcemap=/client/dist/assets/$filename.map" \
6364 -F "javascriptUrl=https://petclinic-demogorgon.staging-service.nr-ops.net/react/assets/$filename" \
6465 https://sourcemaps.service.newrelic.com/v2/applications/$BROWSER_APPLICATION_ID/sourcemaps ;\
6566 fi
You can’t perform that action at this time.
0 commit comments