mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +02:00
fix(telegram): mdv2escape ProjectName by default (#4784)
This pull request fix case when ProjectName contains any not escaped symbols
This commit is contained in:
parent
60a1cccf57
commit
56e0f79473
@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultMessageTemplate = `{{ .ProjectName }} {{ mdv2escape .Tag }} is out! Check it out at {{ mdv2escape .ReleaseURL }}`
|
||||
defaultMessageTemplate = `{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out! Check it out at {{ mdv2escape .ReleaseURL }}`
|
||||
parseModeHTML = "HTML"
|
||||
parseModeMarkdown = "MarkdownV2"
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ announce:
|
||||
|
||||
# Message template to use while publishing.
|
||||
#
|
||||
# Default: '{{ .ProjectName }} {{ mdv2escape .Tag }} is out! Check it out at {{ mdv2escape .ReleaseURL }}'
|
||||
# Default: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out! Check it out at {{ mdv2escape .ReleaseURL }}'
|
||||
# Templates: allowed
|
||||
message_template: 'Awesome project {{.Tag}} is out!'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user