mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
36 lines
772 B
Markdown
36 lines
772 B
Markdown
|
---
|
||
|
title: Milestone
|
||
|
---
|
||
|
|
||
|
GoReleaser can close repository milestones after successfully
|
||
|
publishing all artifacts.
|
||
|
|
||
|
Let's see what can be customized in the `milestones` section:
|
||
|
|
||
|
```yaml
|
||
|
# .goreleaser.yml
|
||
|
milestones:
|
||
|
# You can have multiple milestone configs
|
||
|
-
|
||
|
# Repository for the milestone
|
||
|
# Default is extracted from the origin remote URL
|
||
|
repo:
|
||
|
owner: user
|
||
|
name: repo
|
||
|
|
||
|
# Whether to close the milestone
|
||
|
# Default is false
|
||
|
close: true
|
||
|
|
||
|
# Fail release on errors, such as missing milestone on close
|
||
|
# Default is false
|
||
|
fail_on_error: true
|
||
|
|
||
|
# Name of the milestone
|
||
|
# Default is `{{ .Tag }}`
|
||
|
name_template: "Current Release"
|
||
|
```
|
||
|
|
||
|
!!! tip
|
||
|
Learn more about the [name template engine](/customization/templates).
|