1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-11-06 09:09:29 +02:00

fix: linkedin release url

This commit is contained in:
Carlos A Becker
2021-11-11 23:53:40 -03:00
parent 312e52a760
commit 91f6b142fa
2 changed files with 2 additions and 4 deletions

View File

@@ -9,9 +9,7 @@ import (
"github.com/goreleaser/goreleaser/pkg/context" "github.com/goreleaser/goreleaser/pkg/context"
) )
const ( const defaultMessageTemplate = `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
defaultMessageTemplate = `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL }}/releases/tag/{{ .Tag }}`
)
type Pipe struct{} type Pipe struct{}

View File

@@ -17,7 +17,7 @@ announce:
enabled: true enabled: true
# Message template to use while publishing. # Message template to use while publishing.
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .GitURL }}/releases/tag/{{ .Tag }}` # Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
message_template: 'Awesome project {{.Tag}} is out!' message_template: 'Awesome project {{.Tag}} is out!'
``` ```