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.
#
# Templates: allowed.
Since v2.6
enabled: true
# Message to use while publishing.
#
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'.
message_template: "Awesome project {{.Tag}} is out!"Learn more about the template language.
Last updated on