1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00
Carlos Alexandro Becker 7656591088
docs: big cleanup (#4943)
- standarize some notations
- remove since v1.* remarks, as we are now in v2
2024-06-19 11:44:22 -03:00

723 B

Closing Milestones

GoReleaser can close repository milestones after successfully publishing all artifacts.

Let's see what can be customized in the milestones section:

# .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"

!!! tip

Learn more about the [name template engine](/customization/templates/).