Skip to content

[CY-6611] "breaking:" word always bumps the major version, not just at the start of the commit message #64

@nfcodacy

Description

@nfcodacy

A commit message that has "breaking:" in any part of it will trigger a major version bump, even if it is inside a comment (# :breaking:).

Can this be reviewed to only match "breaking:" and "feature:" at the start of the commit message?

I think that only the following commit messages should trigger a bump:
"breaking: (...)"
":breaking: (...)"
" breaking: (...)" (leading whitespaces but not newline)
" :breaking: (...)" (leading whitespaces but not newline)
and then the same thing for "feature:".

Metadata

Metadata

Assignees

No one assigned

    Labels

    jira-issueIssue tracked on JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions