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

Show list of contributors in the changelog #805

Open
wcandillon opened this issue Apr 2, 2024 · 1 comment
Open

Show list of contributors in the changelog #805

wcandillon opened this issue Apr 2, 2024 · 1 comment

Comments

@wcandillon
Copy link

Can you use the plugin options to customize the output. I would like the changelog to display the list of contributors like on this example release: https://github.com/Shopify/react-native-skia/releases/tag/v1.0.2

Thank you in advance for your guidance there.

@babblebey
Copy link
Member

babblebey commented Jul 31, 2024

Hi @wcandillon,

Of-course you can customize this using lodash templates leveraging the exposure to the semantic-release result context object within where you can access things like the context.commits array which holds data of contributors. See https://semantic-release.gitbook.io/semantic-release/developer-guide/js-api#result for full list of result context object.

You can attempt replicating the format in your stated example release with the lodash template and setting it as the releaseBodyTemplate value in your plugin config accordingly.

Do let me know if you need some clarity or more info on this 😉

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

No branches or pull requests

2 participants