Skip to content

Commit

Permalink
Add Release note body to the Slack message on Github release
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot committed Sep 6, 2024
1 parent c8f8925 commit 9853dd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/handlers/GithubReleaseHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def process_release(self, app_context, release_params):

# Send a message to Slack
text = "The draft release note for " + repository_readable_name + " " + release_params.version
text += " is available on <" + notion_url + "|Notion>. "
text += " is available on <" + notion_url + "|Notion>."
text += "\n"
text += release_params.body

blocks = self.slack_message_factory.get_release_note_review_blocks(text)

Expand Down

0 comments on commit 9853dd8

Please sign in to comment.