Skip to content

tools: add semver-major release support to release-lint #57827

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

Closed
wants to merge 2 commits into from

Conversation

RafaelGSS
Copy link
Member

Refs: #57609

@RafaelGSS RafaelGSS requested a review from aduh95 April 10, 2025 20:56
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Apr 10, 2025
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Comment on lines +30 to +31
for (const title of sectionTitles) {
const start = changelog.indexOf(`\n${title}\n`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would pull the commits from the .0.0 release for all releaases, which won't work. We need to differentiate the releases – i.e. if \n### Commits\n can be found, it's semver-minor or semver-patch, otherwise it's semver-major

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants