Skip to content

Conversation

appleboy
Copy link
Contributor

@appleboy appleboy commented Apr 20, 2024

  • Add strings package import to gitea.go
  • Implement Changelog function in gitea.go
  • Update useGitea constant in changelog.go
  • Add test for useGitea in changelog_test.go
  • Update changelog.md with information about gitea customization

ref:

@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 20, 2024
- Add `strings` package import to `gitea.go`
- Implement `Changelog` function in `gitea.go`
- Update `useGitea` constant in `changelog.go`
- Add test for `useGitea` in `changelog_test.go`
- Update `changelog.md` with information about `gitea` customization

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@pull-request-size pull-request-size bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 20, 2024
@appleboy appleboy changed the title chore(gitea): implement Changelog function feat(gitea): implement Changelog function Apr 22, 2024
@appleboy
Copy link
Contributor Author

Hi @caarlos0 Please help to review.

Comment on lines +90 to +91
commit.Author.UserName,
commit.RepoCommit.Author.Email,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be better to use only the author username?
seems like putting the email would polute the changelogs quite a bit

@caarlos0
Copy link
Member

thanks for the pr, and sorry for the late review, I was afk this weekend

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 merged commit c8488dc into goreleaser:main Apr 23, 2024
@github-actions github-actions bot added this to the v1.26.0 milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants