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