Skip to content

Commit

Permalink
announcements: add Fahrplan.URL to announcement messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 4, 2024
1 parent 6c19275 commit d549076
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions voctopublish/tools/announcements.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def make_message(ticket, config, max_length=None, override_url_length=None):
if not targets:
raise EmptyAnnouncementMessage()

if ticket.url:
urls.append(ticket.url)

msg = " has been released on {}".format(" and ".join(targets))

length_for_title = max_length - len(msg)
Expand Down

0 comments on commit d549076

Please sign in to comment.