Skip to content

Commit

Permalink
Use environ SENTRY_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Jan 19, 2024
1 parent fc4b101 commit 46fa0ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from io import StringIO
import os
from os import path

from conan import ConanFile
Expand Down Expand Up @@ -139,7 +140,7 @@ def build(self):

build_source_dir = self.build_path.parent.parent.as_posix()
self.output.info("Uploading debug symbols to sentry")
self.run(f"sentry-cli debug-files upload --include-sources -o {sentry_org} -p {sentry_project} {build_source_dir}")
self.run(f"sentry-cli --auth-token {os.environ['SENTRY_TOKEN']} debug-files upload --include-sources -o {sentry_org} -p {sentry_project} {build_source_dir}")


def package(self):
Expand Down

0 comments on commit 46fa0ba

Please sign in to comment.