github
github copied to clipboard
Show list of contributors in the changelog
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.
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 😉