1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/www/docs/customization/milestone.md
Carlos Alexandro Becker c1965923b0
docs: improve wording/formatting in several places (#3384)
this just improves docs wording and formatting in several places.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-17 00:13:09 -03:00

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