Skip to content

Commit

Permalink
tools.announcements: add all publishing_tags to message
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Aug 28, 2024
1 parent 7b928aa commit 1a311df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions voctopublish/tools/announcements.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ def make_message(ticket, max_length=200, override_url_length=None):

message = title + msg

if len(message) < (max_length - 2 - len(ticket.acronym)):
message += " #" + ticket.acronym
for tag in ticket.publishing_tags:
if len(message) < (max_length - 2 - len(tag)):
message += " #" + tag

for url in urls:
if override_url_length:
Expand Down

0 comments on commit 1a311df

Please sign in to comment.