LinkedIn¶
For it to work, you'll need to set some environment variables on your pipeline:
LINKEDIN_ACCESS_TOKEN
Warning
We currently don't support posting in groups.
Then, you can add something like the following to your .goreleaser.yaml
config:
.goreleaser.yaml
announce:
linkedin:
# Whether its enabled or not.
enabled: true
# Message to use while publishing.
#
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'.
message_template: "Awesome project {{.Tag}} is out!"
Tip
Discover more about the name template engine.