Skip to content

Difference between version 7.28.1 and 7.29.0 when doing semantic-release publish #450

Closed
@ghost

Description

The problem

I am taking semantic release in use at first and when use version 7.28.1 on my project and run: semantic-release publish -v DEBUG --noop, I see something like this:

debug: evaluate_version_bump -> minor
debug: get_new_version(0.1.0, 'minor', False)
debug: get_new_version -> 0.2.0
debug: get_repository_owner_and_name()
debug: get_repository_owner_and_name -> ('tatu-aalto', 'failures-analysis')
debug: Running publish on branch main
debug: checkout(main)
debug: checkout -> M    poetry.lock
debug: M        pyproject.toml
debug: M        utest/test_similarity.py
debug: Your branch is ahead of 'upstream/main' by 1 commit.
debug:   (use "git push" to publish your local commits)
warning: No operation mode. Should have bumped from 0.1.0 to 0.2.0

Which is what I did expect to see. But when I run same command by using 7.29.0 I see

debug: Ignoring UnknownCommitMessageStyleError: Unable to parse the given commit message: Initial commit
debug: Commits found since last release: 56
debug: evaluate_version_bump -> minor
debug: get_new_version(0.1.0, '7.29.0', 'minor', False)

and then program exists with return code 1. The full log with version 7.29.0, can be found from GitHub actions.

Expected behavior

I did 7.29.0 and 7.28.1 work in similar way.

Additional context

I did run the code with debugger and 7.29.0 fails on some sanity check and that code was added by #435 but can not figure out how it should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions