Skip to content

release-workflow: tag releases as <suite>/<version>#137

Merged
keerthi-go merged 1 commit intomainfrom
dev/releasepkg-updates
Apr 27, 2026
Merged

release-workflow: tag releases as <suite>/<version>#137
keerthi-go merged 1 commit intomainfrom
dev/releasepkg-updates

Conversation

@keerthi-go
Copy link
Copy Markdown
Contributor

The previous tagging scheme used a fixed "debian/" prefix for all release tags (e.g. debian/1.0.0-1). This caused a conflict when the same upstream version was released to multiple distribution branches (e.g. noble, trixie): the tag created by the first release would already exist when the second release attempted to push it, causing the workflow to fail.

Fix this by prefixing the tag with the distro codename (inputs.distro-codename) instead of the static "debian/" string, producing tags of the form / (e.g. noble/1.0.0-1, trixie/1.0.0-1). Each suite+version combination now gets a unique tag, allowing concurrent releases of the same upstream version to different distribution branches.

The previous tagging scheme used a fixed "debian/" prefix for all release
tags (e.g. debian/1.0.0-1). This caused a conflict when the same upstream
version was released to multiple distribution branches (e.g. noble, trixie):
the tag created by the first release would already exist when the second
release attempted to push it, causing the workflow to fail.

Fix this by prefixing the tag with the distro codename (inputs.distro-codename)
instead of the static "debian/" string, producing tags of the form
<suite>/<version> (e.g. noble/1.0.0-1, trixie/1.0.0-1). Each suite+version
combination now gets a unique tag, allowing concurrent releases of the same
upstream version to different distribution branches.

Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
Copy link
Copy Markdown
Contributor

@simonbeaudoin0935 simonbeaudoin0935 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keerthi-go keerthi-go merged commit 9d871f3 into main Apr 27, 2026
10 checks passed
@simonbeaudoin0935 simonbeaudoin0935 deleted the dev/releasepkg-updates branch April 27, 2026 21:33
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