Skip to content

pkg-release: bundle metadata.json inside debs.tar.gz for S3 upload - #228

Merged
Keerthi Gowda (keerthi-go) merged 1 commit into
mainfrom
ci/release-metadata-json
Aug 26, 2026
Merged

Keerthi Gowda (keerthi-go) merged 1 commit into
mainfrom
ci/release-metadata-json

Conversation

@keerthi-go

@keerthi-go Keerthi Gowda (keerthi-go) commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a "Generate metadata.json" step in the upload-debs-to-s3 job of pkg-release-reusable-workflow.yml, writing build-area/metadata.json before the debs are staged.
  • Mirrors the metadata shape and approach from pkg-build: bundle metadata.json inside debs.tar.gz for S3 upload #227 (build-time Upload_to_S3 job in pkg-build-reusable-workflow.yml), so release-time proposed artifacts carry the same source-package/version/suite metadata as build-time proposed artifacts.
  • metadata.json is bundled directly inside debs.tar.gz alongside the .deb files, same as the build-time path.
  • Uses needs.prepare-release-source.outputs.srcpkg_name and needs.prepare-release-source.outputs.release_version (not build-and-test.outputs.srcpkg_version), since release_version reflects the actually-released version (post dch --release, ~ suffix stripped) rather than the pre-release changelog state that srcpkg_version carries. No new needs: entries were required — both prepare-release-source and build-and-test are already dependencies of this job.

Adds a "Generate metadata.json" step in the upload-debs-to-s3 job,
mirroring the build-time Upload_to_S3 change in
pkg-build-reusable-workflow.yml, so release-time proposed artifacts
carry the same source-package/version/suite metadata shape.

Uses prepare-release-source's srcpkg_name and release_version rather
than the build job's srcpkg_version, since release_version reflects
the actually-released version (post dch --release) rather than the
pre-release changelog state.

Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
@keerthi-go
Keerthi Gowda (keerthi-go) merged commit 6293f08 into main Aug 26, 2026
12 checks passed
@simonbeaudoin0935
Simon Beaudoin (simonbeaudoin0935) deleted the ci/release-metadata-json branch August 31, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants