mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-25 21:29:14 +02:00
closes https://github.com/orgs/goreleaser/discussions/5004 --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
32 lines
660 B
Markdown
32 lines
660 B
Markdown
# Closing Milestones
|
|
|
|
GoReleaser can close repository milestones after successfully publishing all
|
|
artifacts.
|
|
|
|
Let's see what can be customized in the `milestones` section:
|
|
|
|
```yaml
|
|
# .goreleaser.yaml
|
|
milestones:
|
|
# You can have multiple milestone configs
|
|
- # Repository for the milestone
|
|
#
|
|
# Default: extracted from the origin remote URL.
|
|
repo:
|
|
owner: user
|
|
name: repo
|
|
|
|
# Whether to close the milestone
|
|
close: true
|
|
|
|
# Fail release on errors, such as missing milestone.
|
|
fail_on_error: true
|
|
|
|
# Name of the milestone
|
|
#
|
|
# Default: '{{ .Tag }}'.
|
|
name_template: "Current Release"
|
|
```
|
|
|
|
<!-- md:templates -->
|