Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I add the author to the commits in the changelog? #197

Open
Jshhhh opened this issue Oct 14, 2024 · 2 comments
Open

Can I add the author to the commits in the changelog? #197

Jshhhh opened this issue Oct 14, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Jshhhh
Copy link

Jshhhh commented Oct 14, 2024

I would like to add the author to the commits listed in the changelog.

### Features

* Some commit ([f84989A](https://github.com)) ([jshhhh](https://github.com/Jshhhh))
@Jshhhh Jshhhh added the question Further information is requested label Oct 14, 2024
@TimothyJones
Copy link
Member

This is a thin wrapper around the conventional changelog tooling - if you can do it with their libs, you should be able to do it with this tool. The writerOpts option (described in the readme) is passed to the writer - you can read their docs here

@Jshhhh
Copy link
Author

Jshhhh commented Oct 23, 2024

Thanks. I was able to get the authorName and authorEmail with conventional-changelog-cli with gitRawCommitsOpts in config file:

gitRawCommitsOpts: {
        format: '%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae%n-gpgStatus-%n%G?%n-gpgSigner-%n%GS',
    }

Looks like I need to create a request to allow users to pass gitRawCommitsOpts for commit-and-tag-version.

{ merges: null, path: args.path, showSignature: false },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants