Files
autoclip/scripts/check_sentry_build.mjs
Kris K f4957c5236 Release v1.3.1: eight-language UI, README and observability (#106)
* feat: prepare v1.3.1 documentation and observability release

* feat: add eight-language desktop interface and tray

* fix: complete v1.3.1 locale and privacy integration

* fix: provide shared version metadata to Docker frontend build
2026-09-21 23:24:58 +08:00

9 lines
536 B
JavaScript

// Fail before downloading runtimes or compiling Rust if a monitored build cannot upload maps.
if (process.env.VITE_PUBLIC_SENTRY_DSN?.trim() && !process.env.SENTRY_AUTH_TOKEN?.trim()) {
console.error('SENTRY_AUTH_TOKEN is missing. Configure the repository Actions Secret before building with VITE_PUBLIC_SENTRY_DSN.');
process.exit(1);
}
console.log(process.env.VITE_PUBLIC_SENTRY_DSN?.trim()
? 'Sentry build credentials are configured (values hidden).'
: 'Sentry DSN is not configured; building without monitoring uploads.');