2021-09-27 22:43:00 -03:00
|
|
|
# Announce
|
|
|
|
|
2023-04-02 17:16:21 -03:00
|
|
|
GoReleaser can also announce new releases on social networks, chat rooms and via
|
|
|
|
email!
|
2021-09-27 22:43:00 -03:00
|
|
|
|
2023-04-02 17:16:21 -03:00
|
|
|
It runs at the very end of the pipeline and can be skipped with the
|
|
|
|
`--skip-announce` flag of the [`release`](/cmd/goreleaser_release/) command, or
|
|
|
|
via the skip property:
|
2021-09-28 22:33:04 -03:00
|
|
|
|
|
|
|
```yaml
|
2021-12-23 01:52:01 +01:00
|
|
|
# .goreleaser.yaml
|
2021-09-28 22:33:04 -03:00
|
|
|
announce:
|
2023-04-02 17:16:21 -03:00
|
|
|
# Skip the announcing feature in some conditions, for instance, when
|
|
|
|
# publishing patch releases.
|
|
|
|
#
|
|
|
|
# Any value different from 'true' is evaluated to false.
|
|
|
|
#
|
|
|
|
# Templates: allowed
|
2021-09-28 22:33:04 -03:00
|
|
|
skip: "{{gt .Patch 0}}"
|
|
|
|
```
|