mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-06 05:22:04 +00:00
Merge branch 'main' into chore/staging-adoption-complete
This commit is contained in:
commit
1199252673
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ fi
|
||||||
COMMIT_SHA="$(printf '%s' "${COMMIT_SHA}" | tr '[:upper:]' '[:lower:]')"
|
COMMIT_SHA="$(printf '%s' "${COMMIT_SHA}" | tr '[:upper:]' '[:lower:]')"
|
||||||
RELEASE="shoc-frontend@${COMMIT_SHA}"
|
RELEASE="shoc-frontend@${COMMIT_SHA}"
|
||||||
|
|
||||||
|
if ! npm exec --no -- sentry-cli --version >/dev/null 2>&1; then
|
||||||
|
echo "sentry-cli is not in this SPA tree; skipping source-map upload"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
npm exec --no -- sentry-cli sourcemaps upload \
|
npm exec --no -- sentry-cli sourcemaps upload \
|
||||||
--org "${SENTRY_ORG}" \
|
--org "${SENTRY_ORG}" \
|
||||||
--project "${SENTRY_PROJECT}" \
|
--project "${SENTRY_PROJECT}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue