Skip to content

Commit

Permalink
Only enable Sentry upload when there is info to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Jan 18, 2024
1 parent 0b3c9d7 commit 9687e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def build(self):
if sentry_project == "" or sentry_org == "":
raise ConanInvalidConfiguration("sentry_project or sentry_org is not set")

if which("sentry-cli") is None:
if which("sentry-cli") is None and self.settings.build_type != "Release":
self.output.warn("sentry-cli is not installed, skipping uploading debug symbols")
self.output.warn("sentry-cli is not installed, skipping release creation")
else:
Expand Down

0 comments on commit 9687e95

Please sign in to comment.