2021-11-07 02:04:08 +02:00
|
|
|
# LinkedIn
|
|
|
|
|
|
|
|
For it to work, you'll need to set some environment variables on your pipeline:
|
|
|
|
|
|
|
|
- `LINKEDIN_ACCESS_TOKEN`
|
|
|
|
|
2021-11-12 04:54:19 +02:00
|
|
|
!!! warning
|
|
|
|
We currently don't support posting in groups.
|
2021-11-07 02:04:08 +02:00
|
|
|
|
2021-12-23 02:52:01 +02:00
|
|
|
Then, you can add something like the following to your `.goreleaser.yaml` config:
|
2021-11-07 02:04:08 +02:00
|
|
|
|
|
|
|
```yaml
|
2021-12-23 02:52:01 +02:00
|
|
|
# .goreleaser.yaml
|
2021-11-07 02:04:08 +02:00
|
|
|
announce:
|
|
|
|
linkedin:
|
|
|
|
# Whether its enabled or not.
|
|
|
|
enabled: true
|
|
|
|
|
2023-04-02 22:16:21 +02:00
|
|
|
# Message to use while publishing.
|
|
|
|
#
|
|
|
|
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
2021-11-07 02:04:08 +02:00
|
|
|
message_template: 'Awesome project {{.Tag}} is out!'
|
|
|
|
```
|
|
|
|
|
|
|
|
!!! tip
|
|
|
|
Learn more about the [name template engine](/customization/templates/).
|