From 6c886df7bc3499ad229a48d19bc6349d67503745 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 19 Jan 2024 09:09:13 +0100 Subject: [PATCH] Use env SENTRY_TOKEN to auth with Sentry --- recipes/clipper/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/clipper/all/conanfile.py b/recipes/clipper/all/conanfile.py index 044def0..7a708b5 100644 --- a/recipes/clipper/all/conanfile.py +++ b/recipes/clipper/all/conanfile.py @@ -79,7 +79,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): copy(self, "License.txt", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))