Skip to content

Commit

Permalink
uploading /usr/lib debug files to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulmathur001 committed Apr 11, 2024
1 parent 5f8ed09 commit 051401a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -262,6 +262,7 @@ if(CCACHE_FOUND)
endif(CCACHE_FOUND)

set(SENTRY_BACKEND "crashpad")
set(SENTRY_INTEGRATION_QT "ON")
set(SENTRY_INCLUDE_DIR "3rdparty/sentry-native/include")
set(SENTRY_LIBRARIES "3rdparty/sentry-native")

Expand Down
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Expand Up @@ -716,7 +716,8 @@ if(APPLE)
add_custom_command(
TARGET mudlet POST_BUILD
COMMAND curl -sL https://sentry.io/get-cli/ | sh
COMMAND sentry-cli login --auth-token $ENV{SENTRY_AUTH_TOKEN}
COMMAND sentry-cli login --auth-token $ENV{SENTRY_AUTH_TOKEN}
COMMAND sentry-cli debug-files upload --include-sources -o $ENV{SENTRY_ORG} -p $ENV{SENTRY_PROJECT} /usr/lib --wait
COMMAND sentry-cli debug-files upload --include-sources -o $ENV{SENTRY_ORG} -p $ENV{SENTRY_PROJECT} ${mudlet_BINARY_DIR} --wait
WORKING_DIRECTORY ${mudlet_BINARY_DIR}
COMMENT "Uploading debug files to Sentry"
Expand Down

0 comments on commit 051401a

Please sign in to comment.