Skip to content

Commit

Permalink
bundle sources
Browse files Browse the repository at this point in the history
Contribute to CURA-11482
  • Loading branch information
jellespijker committed Jan 12, 2024
1 parent 89f4d06 commit 0002453
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
Expand Up @@ -175,7 +175,8 @@ def build(self):
if "sentry-cli" not in output.getvalue():
raise ConanInvalidSystemRequirements("sentry-cli is not installed")
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.build_path.parent.parent.as_posix()
self.run(f"sentry-cli debug-files upload --include-sources -o {sentry_org} -p {sentry_project} {build_source_dir}")

# create a sentry release and link it to the commit this is based upon
self.output.info(f"Creating a new release {self.version} in Sentry and linking it to the current commit {self.conan_data['commit']}")
Expand Down

0 comments on commit 0002453

Please sign in to comment.