.goreleaser.yaml 1.7 KB

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