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 \
57
57
RUN if [ -z "$NEW_RELIC_API_KEY" ] ; then \
58
58
echo --SKIPPING SOURCE MAP UPLOAD ; \
59
59
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" && \
61
62
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" \
63
64
-F "javascriptUrl=https://petclinic-demogorgon.staging-service.nr-ops.net/react/assets/$filename" \
64
65
https://sourcemaps.service.newrelic.com/v2/applications/$BROWSER_APPLICATION_ID/sourcemaps ;\
65
66
fi
You can’t perform that action at this time.
0 commit comments