Skip to content

IP address is parsed into version number #474

@chbndrhnns

Description

@chbndrhnns

The problem

My commit title is this:
'Use 127.0.0.1 as base_url for test client'

The output is this:

debug: parse_commit_message('fix: Use 127.0.0.1 as base_url for test client')
debug: parse_commit_message -> ParsedCommit(bump=1, type='fix', scope=None, descriptions=['Use 127.0.0.1 as base_url for test client'], breaking_descriptions=[])
debug: Commits found since last release: 2
debug: evaluate_version_bump -> patch
debug: get_new_version('4.28.3', '127.0.0', 'patch', False)

Expected behavior

The tool does not pick up an IP address for a version number

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properlystale

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions