pkg-release: bundle metadata.json inside debs.tar.gz for S3 upload - #228
Merged
Merged
Conversation
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>
Bjordis Collaku (bjordiscollaku)
approved these changes
Aug 26, 2026
Simon Beaudoin (simonbeaudoin0935)
deleted the
ci/release-metadata-json
branch
August 31, 2026 18:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
upload-debs-to-s3job ofpkg-release-reusable-workflow.yml, writingbuild-area/metadata.jsonbefore the debs are staged.Upload_to_S3job inpkg-build-reusable-workflow.yml), so release-time proposed artifacts carry the samesource-package/version/suitemetadata as build-time proposed artifacts.metadata.jsonis bundled directly insidedebs.tar.gzalongside the.debfiles, same as the build-time path.needs.prepare-release-source.outputs.srcpkg_nameandneeds.prepare-release-source.outputs.release_version(notbuild-and-test.outputs.srcpkg_version), sincerelease_versionreflects the actually-released version (postdch --release,~suffix stripped) rather than the pre-release changelog state thatsrcpkg_versioncarries. No newneeds:entries were required — bothprepare-release-sourceandbuild-and-testare already dependencies of this job.