Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# These env vars must be set:
|
||||
# SENTRY_PROJECT
|
||||
# SENTRY_AUTH_TOKEN
|
||||
# SENTRY_ORG
|
||||
# DEBUG_FILE_OR_FOLDER_PATH
|
||||
|
||||
set -x
|
||||
|
||||
if which sentry-cli >/dev/null; then
|
||||
ERROR="$(sentry-cli upload-dif "$DEBUG_FILE_OR_FOLDER_PATH")"
|
||||
if [ ! $? -eq 0 ]; then
|
||||
echo "warning: sentry-cli - $ERROR"
|
||||
fi
|
||||
else
|
||||
echo "warning: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases"
|
||||
fi
|
||||
Reference in New Issue
Block a user