mirror of
https://github.com/zhouxiaoka/autoclip.git
synced 2026-10-02 02:34:34 +08:00
* 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
9 lines
536 B
JavaScript
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.');
|