multi-semantic-release icon indicating copy to clipboard operation
multi-semantic-release copied to clipboard

question: can MSR define plugin's default options ?

Open Badisi opened this issue 3 years ago • 0 comments

When using the plugin @semantic-release/github, the following comment is added to any issues or PRs that relates to the release:

🎉 This PR is included in version 2.0.0-beta.11 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

But when releasing multiple packages it is obvious that the version here (ie. 2.0.0-beta.11) does not really help.

One could use the plugin's successComment option to change the comment and maybe use something like nextRelease.gitTag instead of nextRelease.version (see get-success-comment.js#L7).

But I was wondering if MSR could set that by default ? and how ? as I'm not familiar with how SR/MSR lifecycle hooks are working.

Thanks!

Badisi avatar Apr 15 '22 16:04 Badisi