|
| 1 | +builds: |
| 2 | + - # If true, skip the build. |
| 3 | + # Useful for library projects. |
| 4 | + # Default is false |
| 5 | + skip: true |
| 6 | + |
| 7 | +changelog: |
| 8 | + # Set it to true if you wish to skip the changelog generation. |
| 9 | + # This may result in an empty release notes on GitHub/GitLab/Gitea. |
| 10 | + disable: false |
| 11 | + |
| 12 | + # Changelog generation implementation to use. |
| 13 | + # |
| 14 | + # Valid options are: |
| 15 | + # - `git`: uses `git log`; |
| 16 | + # - `github`: uses the compare GitHub API, appending the author login to the changelog. |
| 17 | + # - `gitlab`: uses the compare GitLab API, appending the author name and email to the changelog. |
| 18 | + # - `github-native`: uses the GitHub release notes generation API, disables the groups feature. |
| 19 | + # |
| 20 | + # Defaults to `git`. |
| 21 | + use: github |
| 22 | + |
| 23 | + # Sorts the changelog by the commit's messages. |
| 24 | + # Could either be asc, desc or empty |
| 25 | + # Default is empty |
| 26 | + sort: asc |
| 27 | + |
| 28 | + # Group commits messages by given regex and title. |
| 29 | + # Order value defines the order of the groups. |
| 30 | + # Proving no regex means all commits will be grouped under the default group. |
| 31 | + # Groups are disabled when using github-native, as it already groups things by itself. |
| 32 | + # |
| 33 | + # Default is no groups. |
| 34 | + groups: |
| 35 | + - title: Features |
| 36 | + regexp: "^.*feat[(\\w-)]*:+.*$" |
| 37 | + order: 0 |
| 38 | + - title: "Bug fixes" |
| 39 | + regexp: "^.*fix[(\\w-)]*:+.*$" |
| 40 | + order: 1 |
| 41 | + - title: "Enhancements" |
| 42 | + regexp: "^.*chore[(\\w-)]*:+.*$" |
| 43 | + order: 2 |
| 44 | + - title: "Refactor" |
| 45 | + regexp: "^.*refactor[(\\w-)]*:+.*$" |
| 46 | + order: 3 |
| 47 | + - title: "Build process updates" |
| 48 | + regexp: ^.*?(build|ci)(\(.+\))??!?:.+$ |
| 49 | + order: 4 |
| 50 | + - title: "Documentation updates" |
| 51 | + regexp: ^.*?docs?(\(.+\))??!?:.+$ |
| 52 | + order: 4 |
| 53 | + - title: Others |
| 54 | + order: 999 |
0 commit comments