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

ci(release): simplify semantic-release config #529

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

Djaytan
Copy link
Owner

@Djaytan Djaytan commented Feb 7, 2024

The releaseCommitMessageFormat property is useless in the context of the @semantic-release/release-notes-generator plugin. The role of the plugin is to generate release notes only. More concretely speaking, we can see the plugin's behavior as generating and storing a value in a variable which will then be reusable by the other plugins later. No commit will be created nor pushed. That's the role of the plugin semantic-release-github-pullrequest (https://github.com/asbiin/semantic-release-github-pullrequest) which will create a PR for the changes made to the CONTRIBUTING.md file by the plugin @semantic-release/changelog (https://github.com/semantic-release/changelog).

The README file of the plugin can be found here: https://github.com/semantic-release/release-notes-generator. The specific documentation regarding the releaseCommitMessageFormat property can be found here: https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.0.0/README.md#releasecommitmessageformat-string. If new with the semantic-release tool, this documentation will be useful: https://semantic-release.gitbook.io/semantic-release/.

@Djaytan Djaytan force-pushed the ci/simplify-config branch from da01bf9 to fc9e9d9 Compare February 7, 2024 12:59
The `releaseCommitMessageFormat` property is useless in the context of the `@semantic-release/release-notes-generator` plugin. The role of the plugin is to generate release notes only. More concretely speaking, we can see the plugin's behavior as generating and storing a value in a variable which will then be reusable by the other plugins later. No commit will be created nor pushed. That's the role of the plugin `semantic-release-github-pullrequest` (https://github.com/asbiin/semantic-release-github-pullrequest) which will create a PR for the changes made to the `CONTRIBUTING.md` file by the plugin `@semantic-release/changelog` (https://github.com/semantic-release/changelog).

The README file of the plugin can be found here: https://github.com/semantic-release/release-notes-generator. The specific documentation regarding the `releaseCommitMessageFormat` property can be found here: https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.0.0/README.md#releasecommitmessageformat-string. If new with the `semantic-release` tool, this documentation will be useful: https://semantic-release.gitbook.io/semantic-release/.
@Djaytan Djaytan force-pushed the ci/simplify-config branch from fc9e9d9 to ae0b0b0 Compare February 7, 2024 13:23
Copy link

sonarcloud bot commented Feb 7, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Djaytan Djaytan merged commit 35b69c1 into main Feb 7, 2024
4 checks passed
@Djaytan Djaytan deleted the ci/simplify-config branch February 7, 2024 13:29
Copy link
Contributor

🎉 This PR is included in version 3.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

🎉 This PR is included in version 3.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

🎉 This PR is included in version 3.0.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants