Skip to content

Instantly share code, notes, and snippets.

@marr
Created May 29, 2019 21:17
Show Gist options
  • Save marr/429f27ca22185161ca540dbc8c5289fa to your computer and use it in GitHub Desktop.
Save marr/429f27ca22185161ca540dbc8c5289fa to your computer and use it in GitHub Desktop.
#!/bin/bash
cd dist
shopt -s nullglob
for f in *.map
do
echo "uploading $f to New Relic"
publish-sourcemap $f $SCHUMACHER_CLIENT_ROOT --applicationId=238312787 --nrAdminKey=$NEW_RELIC_ADMIN_KEY
done
cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment