Skip to content
Snippets Groups Projects
Commit 417e6a47 authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Include .deb, .ddeb packages when uploading artifacts


In particular this lets us gather detached debug symbols from the
generated -dbgsym packages.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 33be6a0f
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,8 @@ class Uploader:
shutil.rmtree(str(upload))
upload.mkdir()
packages = Path('_build', 'upload', 'packages')
packages.mkdir()
sources = Path('_build', 'upload', 'sources')
sources.mkdir()
......@@ -235,6 +237,10 @@ class Uploader:
subprocess.check_call([
'dcmd', 'ln', str(a), str(sources),
])
elif str(a).endswith(('.deb', '.ddeb')):
subprocess.check_call([
'dcmd', 'ln', str(a), str(packages),
])
a = Path('_build', 'production', 'pressure-vessel-bin.tar.gz')
os.link(str(a), upload / a.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment