.goreleaser.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. project_name: gin
  2. builds:
  3. -
  4. # If true, skip the build.
  5. # Useful for library projects.
  6. # Default is false
  7. skip: true
  8. changelog:
  9. # Set it to true if you wish to skip the changelog generation.
  10. # This may result in an empty release notes on GitHub/GitLab/Gitea.
  11. skip: false
  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: git
  22. # Sorts the changelog by the commit's messages.
  23. # Could either be asc, desc or empty
  24. # Default is empty
  25. sort: asc
  26. # Group commits messages by given regex and title.
  27. # Order value defines the order of the groups.
  28. # Proving no regex means all commits will be grouped under the default group.
  29. # Groups are disabled when using github-native, as it already groups things by itself.
  30. #
  31. # Default is no groups.
  32. groups:
  33. - title: Features
  34. regexp: "^.*feat[(\\w)]*:+.*$"
  35. order: 0
  36. - title: 'Bug fixes'
  37. regexp: "^.*fix[(\\w)]*:+.*$"
  38. order: 1
  39. - title: 'Enhancements'
  40. regexp: "^.*chore[(\\w)]*:+.*$"
  41. order: 2
  42. - title: Others
  43. order: 999
  44. filters:
  45. # Commit messages matching the regexp listed here will be removed from
  46. # the changelog
  47. # Default is empty
  48. exclude:
  49. - '^docs'
  50. - 'CICD'
  51. - typo