github.com/joselitofilho/goreleaser@v0.155.1-0.20210123221854-e4891856c593/www/docs/customization/milestone.md (about)

     1  ---
     2  title: Milestone
     3  ---
     4  
     5  GoReleaser can close repository milestones after successfully
     6  publishing all artifacts.
     7  
     8  Let's see what can be customized in the `milestones` section:
     9  
    10  ```yaml
    11  # .goreleaser.yml
    12  milestones:
    13    # You can have multiple milestone configs
    14    -
    15      # Repository for the milestone
    16      # Default is extracted from the origin remote URL
    17      repo:
    18        owner: user
    19        name: repo
    20  
    21      # Whether to close the milestone
    22      # Default is false
    23      close: true
    24  
    25      # Fail release on errors, such as missing milestone on close
    26      # Default is false
    27      fail_on_error: true
    28  
    29      # Name of the milestone
    30      # Default is `{{ .Tag }}`
    31      name_template: "Current Release"
    32  ```
    33  
    34  !!! tip
    35      Learn more about the [name template engine](/customization/templates/).