1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/www/docs/customization/announce/linkedin.md
2021-11-11 23:54:19 -03:00

677 B

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.yml config:

# .goreleaser.yml
announce:
  linkedin:
    # Whether its enabled or not.
    # Defaults to false.
    enabled: true

    # Message template to use while publishing.
    # Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
    message_template: 'Awesome project {{.Tag}} is out!'

!!! tip Learn more about the name template engine.