Skip to content

Commit

Permalink
Use env SENTRY_TOKEN to auth with Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Jan 19, 2024
1 parent 933ec79 commit 6c886df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/clipper/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 6c886df

Please sign in to comment.