From 00024533900f5c7cf134787562682a9c33c53391 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 12 Jan 2024 13:26:13 +0100 Subject: [PATCH] bundle sources Contribute to CURA-11482 --- conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index cad4838d6c..ccff3b8632 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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']}")