Skip to content

Commit

Permalink
stable-rc: display git commit tags in the report
Browse files Browse the repository at this point in the history
Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
  • Loading branch information
Jeny Sadadia authored and JenySadadia committed Sep 28, 2024
1 parent ded2da1 commit be926a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kcidb/templates/stable_rc_revision_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ REVISION
{% if revision.git_commit_hash %}
{{- " hash: " + revision.git_commit_hash }}
{% endif %}
{% set tags = revision.checkouts | map(attribute="git_commit_tags") |
reject("none") | sum(start=[]) | unique | join(', ') %}
{% if tags %}
{{- " tags: " + tags }}
{% endif %}
{# List of other repo's URLs #}
{% set other_repos = revision.repo_branch_checkouts.keys() |
reject('==', main_repo_url) | reject("none") | list %}
Expand Down

0 comments on commit be926a1

Please sign in to comment.