diff --git a/.bin/scripts/sentry-release.sh b/.bin/scripts/sentry-release.sh index cb1f25e942..5612d8a511 100755 --- a/.bin/scripts/sentry-release.sh +++ b/.bin/scripts/sentry-release.sh @@ -17,10 +17,10 @@ readonly VAULT_FILE="${ROOT_DIR}/.infra/vault/vault.yml" LBA_SERVER_SENTRY_DSN=$(ansible-vault view "${ansible_extra_opts[@]}" "$VAULT_FILE" | yq '.vault.LBA_SERVER_SENTRY_DSN') LBA_UI_SENTRY_DSN=$(ansible-vault view "${ansible_extra_opts[@]}" "$VAULT_FILE" | yq '.vault.LBA_UI_SENTRY_DSN') -SENTRY_AUTH_TOKEN=$(ansible-vault view "${ansible_extra_opts[@]}" "$VAULT_FILE" | yq '.vault.SENTRY_AUTH_TOKEN') +export SENTRY_AUTH_TOKEN=$(ansible-vault view "${ansible_extra_opts[@]}" "$VAULT_FILE" | yq '.vault.SENTRY_AUTH_TOKEN') -SENTRY_DSN="${LBA_SERVER_SENTRY_DSN}" +export SENTRY_DSN="${LBA_SERVER_SENTRY_DSN}" "$ROOT_DIR/server/sentry-release-server.sh" "mission-apprentissage/labonnealternance" "${COMMIT_ID}" "${PREV_COMMIT_ID}" "${VERSION}" -SENTRY_DSN="${LBA_UI_SENTRY_DSN}" +export SENTRY_DSN="${LBA_UI_SENTRY_DSN}" "$ROOT_DIR/ui/sentry-release-ui.sh" "mission-apprentissage/labonnealternance" "${COMMIT_ID}" "${PREV_COMMIT_ID}" "${VERSION}"