<commit_before>---
title: Release
series: customization
hideFromIndex: true
weight: 110
---

GoReleaser will create a GitHub/GitLab release with the current tag, upload all
the artifacts and generate the changelog based on the new commits since the
previous tag.

Let's see what can be customized in the `release` section for GitHub:

```yml
# .goreleaser.yml
release:
  # Repo in which the release will be created.
  # Default is extracted from the origin remote URL.
  # Note: it can only be one: either github or gitlab or gitea
  github:<commit_msg>docs: improve github repo guessing docs<commit_after>---
title: Release
series: customization
hideFromIndex: true
weight: 110
---

GoReleaser will create a GitHub/GitLab release with the current tag, upload all
the artifacts and generate the changelog based on the new commits since the
previous tag.

Let's see what can be customized in the `release` section for GitHub:

```yml
# .goreleaser.yml
release:
  # Repo in which the release will be created.
  # Default is extracted from the origin remote URL or empty if its private hosted.
  # Note: it can only be one: either github or gitlab or gitea
  github:
{'fraction_non_alphanumeric': 0.061049011177987965, 'fraction_numerical': 0.005159071367153913, 'mean_word_length': 4.150442477876106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3478298', 'n_tokens_mistral': 354, 'n_tokens_neox': 318, 'n_words': 170}