ci.sh: let the webpack plugin do the sentry debug id injecting
This commit is contained in:
parent
196f52b821
commit
6070641028
1 changed files with 1 additions and 3 deletions
4
ci.sh
4
ci.sh
|
|
@ -13,7 +13,6 @@ if [ "$IS_PR" == true ]; then
|
||||||
else
|
else
|
||||||
export BETA=false
|
export BETA=false
|
||||||
build
|
build
|
||||||
npm run sentry:inject
|
|
||||||
source build_app_info.sh
|
source build_app_info.sh
|
||||||
mv ${DIST_FOLDER} stable
|
mv ${DIST_FOLDER} stable
|
||||||
export BETA=true
|
export BETA=true
|
||||||
|
|
@ -22,9 +21,8 @@ else
|
||||||
# both inject debug ids and upload the sourcemaps, in konflux only
|
# both inject debug ids and upload the sourcemaps, in konflux only
|
||||||
# the debug ids are injected. As the debug ids are consistend
|
# the debug ids are injected. As the debug ids are consistend
|
||||||
# across builds, this works.
|
# across builds, this works.
|
||||||
export SENTRY_AUTH_TOKEN SENTRY_DSN SENTRY_ORG SENTRY_PROJECT
|
export SENTRY_AUTH_TOKEN
|
||||||
build
|
build
|
||||||
npm run sentry:inject
|
|
||||||
source build_app_info.sh
|
source build_app_info.sh
|
||||||
mv ${DIST_FOLDER} preview
|
mv ${DIST_FOLDER} preview
|
||||||
mkdir -p ${DIST_FOLDER}
|
mkdir -p ${DIST_FOLDER}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue