Skip to content

Commit

Permalink
fix(slack): github squash format breaks formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fallion committed Jan 1, 2022
1 parent 3a4f67b commit ff1c201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/slack/release_notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/aevea/quoad"
"github.com/aevea/release-notary/internal"
"github.com/aevea/release-notary/internal/text"
"github.com/slack-go/slack"
)

Expand Down Expand Up @@ -45,7 +46,7 @@ func GenerateReleaseNotes(changelog map[string][]quoad.Commit, remote GitRemoter
Type: "section",
Text: &slack.TextBlockObject{
Type: "mrkdwn",
Text: fmt.Sprintf(":%s: *%s*", section.Icon, section.Title),
Text: fmt.Sprintf(":%s: *%s*", section.Icon, text.TrimMessage(section.Title)),
},
}

Expand Down

0 comments on commit ff1c201

Please sign in to comment.