github.com/goreleaser/goreleaser@v1.25.1/www/docs/customization/announce/linkedin.md (about)

     1  # LinkedIn
     2  
     3  For it to work, you'll need to set some environment variables on your pipeline:
     4  
     5  - `LINKEDIN_ACCESS_TOKEN`
     6  
     7  !!! warning
     8      We currently don't support posting in groups.
     9  
    10  Then, you can add something like the following to your `.goreleaser.yaml` config:
    11  
    12  ```yaml
    13  # .goreleaser.yaml
    14  announce:
    15    linkedin:
    16      # Whether its enabled or not.
    17      enabled: true
    18  
    19      # Message to use while publishing.
    20      #
    21      # Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
    22      message_template: 'Awesome project {{.Tag}} is out!'
    23  ```
    24  
    25  !!! tip
    26      Learn more about the [name template engine](/customization/templates/).