fix(release): stop duplicating GitHub release title - #1851
Merged
tekton-robot merged 1 commit intoAug 4, 2026
Conversation
The create-draft-release task's github_release_oci.yaml pin was still on the commit before tektoncd/plumbing#3519, so this pipeline never picked up the upstream fix for the duplicated, quoted release title. Bump the pinned plumbing revision to main, which includes that fix, and drop this pipeline's own "Release ${VERSION}" fallback name in prepare-draft-release: the plumbing task only avoids the duplicated title when release-name is empty, so synthesizing a non-empty fallback here defeated the fix, producing titles like: Tekton Chains release v0.28.0 "Release v0.28.0" Also wire up the new "draft" param (default "false") introduced by that same plumbing PR, so releases are published directly instead of being left as an unpublished draft that a maintainer has to manually publish. Signed-off-by: Jawed khelil <jkhelil@redhat.com> Assisted-by: Claude Sonnet 5 (via Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1851 +/- ##
==========================================
- Coverage 61.95% 61.90% -0.05%
==========================================
Files 64 64
Lines 4071 4071
==========================================
- Hits 2522 2520 -2
- Misses 1268 1269 +1
- Partials 281 282 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
/retest |
infernus01
reviewed
Aug 4, 2026
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: infernus01 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Changes
The
create-draft-releasetask'sgithub_release_oci.yamlpin wasstill on the commit before tektoncd/plumbing#3519, so this pipeline
never picked up the upstream fix for the duplicated, quoted release
title.
This PR:
Bumps the pinned plumbing revision to
main, which includes thatfix.
Drops this pipeline's own
Release ${VERSION}fallback name inprepare-draft-release: the plumbing task only avoids theduplicated title when
release-nameis empty, so synthesizing anon-empty fallback here defeated the fix, producing titles like:
Wires up the new
draftparam (default"false") introduced bythat same plumbing PR, so releases are published directly instead
of being left as an unpublished draft that a maintainer has to
manually publish.
/kind bug
Submitter Checklist
functionality, content, code)
Release Notes
Made with Cursor