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
|
2024-06-19 11:44:22 -03:00
|
|
|
|
2021-11-11 23:54:19 -03:00
|
|
|
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
|
|
|
|
2024-11-29 11:17:45 -03:00
|
|
|
```yaml title=".goreleaser.yaml"
|
2021-11-07 03:04:08 +03:00
|
|
|
announce:
|
|
|
|
linkedin:
|
|
|
|
# Whether its enabled or not.
|
|
|
|
enabled: true
|
|
|
|
|
2023-04-02 17:16:21 -03:00
|
|
|
# Message to use while publishing.
|
|
|
|
#
|
2024-06-19 11:44:22 -03:00
|
|
|
# Default: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'.
|
|
|
|
message_template: "Awesome project {{.Tag}} is out!"
|
2021-11-07 03:04:08 +03:00
|
|
|
```
|
|
|
|
|
2024-07-17 10:56:36 -03:00
|
|
|
<!-- md:templates -->
|