2021-10-30 09:50:23 -03:00
|
|
|
# Closing Milestones
|
2020-07-09 16:40:37 -04:00
|
|
|
|
2022-09-17 00:13:09 -03:00
|
|
|
GoReleaser can close repository milestones after successfully publishing all
|
|
|
|
artifacts.
|
2020-07-09 16:40:37 -04:00
|
|
|
|
|
|
|
Let's see what can be customized in the `milestones` section:
|
|
|
|
|
2024-11-29 11:17:45 -03:00
|
|
|
```yaml title=".goreleaser.yaml"
|
2020-07-09 16:40:37 -04:00
|
|
|
milestones:
|
|
|
|
# You can have multiple milestone configs
|
2024-06-19 11:44:22 -03:00
|
|
|
- # Repository for the milestone
|
|
|
|
#
|
|
|
|
# Default: extracted from the origin remote URL.
|
2020-07-09 16:40:37 -04:00
|
|
|
repo:
|
|
|
|
owner: user
|
|
|
|
name: repo
|
|
|
|
|
|
|
|
# Whether to close the milestone
|
|
|
|
close: true
|
|
|
|
|
2021-11-21 12:34:28 -03:00
|
|
|
# Fail release on errors, such as missing milestone.
|
2020-07-09 16:40:37 -04:00
|
|
|
fail_on_error: true
|
|
|
|
|
|
|
|
# Name of the milestone
|
2023-04-02 17:16:21 -03:00
|
|
|
#
|
2024-06-19 11:44:22 -03:00
|
|
|
# Default: '{{ .Tag }}'.
|
2020-07-09 16:40:37 -04:00
|
|
|
name_template: "Current Release"
|
|
|
|
```
|
|
|
|
|
2024-07-17 10:56:36 -03:00
|
|
|
<!-- md:templates -->
|