github.com/goreleaser/goreleaser@v1.25.1/www/docs/customization/announce/reddit.md (about)

     1  # Reddit
     2  
     3  For it to work, you'll need to [create a new Reddit app](https://www.reddit.com/prefs/apps), and set some environment
     4  variables on your pipeline:
     5  
     6  - `REDDIT_SECRET`
     7  - `REDDIT_PASSWORD`
     8  
     9  Then, you can add something like the following to your `.goreleaser.yaml` config:
    10  
    11  ```yaml
    12  # .goreleaser.yaml
    13  announce:
    14    reddit:
    15      # Whether its enabled or not.
    16      enabled: true
    17  
    18      # Application ID for Reddit Application
    19      application_id: ""
    20  
    21      # Username for your Reddit account
    22      username: ""
    23  
    24      # URL template to use while publishing.
    25      #
    26      # Default: '{{ .ReleaseURL }}'
    27      # Templates: allowed
    28      url_template: 'https://github.com/goreleaser/goreleaser/releases/tag/{{ .Tag }}'
    29  
    30      # Title template to use while publishing.
    31      #
    32      # Default: '{{ .ProjectName }} {{ .Tag }} is out!'
    33      # Templates: allowed
    34      title_template: ''GoReleaser {{ .Tag }} was just released!''
    35  ```
    36  
    37  !!! tip
    38      Learn more about the [name template engine](/customization/templates/).