-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,45 @@ | ||
version: 2 | ||
builds: | ||
# You can have multiple builds defined as a yaml list | ||
- # If true, skip the build. | ||
# Useful for library projects. | ||
# Default is false | ||
# | ||
# Templates: allowed (since v2.3). | ||
skip: true | ||
|
||
changelog: | ||
# Set this to true if you don't want any changelog at all. | ||
# | ||
# Warning: this will also ignore any changelog files passed via `--release-notes`, | ||
# and will render an empty changelog. | ||
# | ||
# This may result in an empty release notes on GitHub/GitLab/Gitea. | ||
# | ||
# Templateable since v1.16.0. | ||
# Must evaluate to either true or false. | ||
# | ||
# Defaults to false. | ||
skip: false | ||
|
||
# Changelog generation implementation to use. | ||
# | ||
# Valid options are: | ||
# - `git`: uses `git log`; | ||
# - `github`: uses the compare GitHub API, appending the author login to the changelog. | ||
# - `gitlab`: uses the compare GitLab API, appending the author name and email to the changelog. | ||
# - `github`: uses the compare GitHub API, appending the author username to the changelog. | ||
# - `gitlab`: uses the compare GitLab API, appending the author name and email to the changelog (requires a personal access token). | ||
# - `gitea`: uses the compare Gitea API, appending the author username to the changelog. | ||
# - `github-native`: uses the GitHub release notes generation API, disables the groups feature. | ||
# | ||
# Defaults to `git`. | ||
# Default: 'git'. | ||
use: git | ||
|
||
# Sorts the changelog by the commit's messages. | ||
# Could either be asc, desc or empty | ||
# Default is empty | ||
# Empty means 'no sorting', it'll use the output of `git log` as is. | ||
sort: asc | ||
|
||
# Group commits messages by given regex and title. | ||
# Order value defines the order of the groups. | ||
# Providing no regex means all commits will be grouped under the default group. | ||
# | ||
# Matches are performed against the first line of the commit message only, | ||
# prefixed with the commit SHA1, usually in the form of | ||
# `<abbrev-commit>[:] <title-commit>`. | ||
# Groups are disabled when using github-native, as it already groups things by itself. | ||
# Matches are performed against strings of the form: "<abbrev-commit>[:] <title-commit>". | ||
# Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax. | ||
# | ||
# Default is no groups. | ||
groups: | ||
- title: Features | ||
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$' | ||
order: 0 | ||
- title: "Bug fixes" | ||
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' | ||
order: 1 | ||
# The lines beneath this are called `modelines`. See `:help modeline` | ||
# Feel free to remove those if you don't want/use them. | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
|
||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj |