Difference between version 7.28.1 and 7.29.0 when doing `semantic-release publish`
See original GitHub issueThe 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 https://github.com/relekang/python-semantic-release/pull/435 but can not figure out how it should be fixed.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:9
Top Results From Across the Web
Frequently Asked Questions - semantic-release
In both cases semantic-release will publish a new release, so your package users will get the fixed/reverted version. Depending on the package manager...
Read more >semantic-release/pre-releases.md at master - GitHub
Publishing pre-releases. This recipe will walk you through a simple example that uses pre-releases to publish beta versions while working on a future...
Read more >python-semantic-release - PyPI
Automatic Semantic Versioning for Python projects. ... pip install python-semantic-release. Copy PIP instructions. Latest version. Released: Oct 22, 2022.
Read more >python-semantic-release Changelog - PyUp.io
**publish:** Get version bump for current release ... 7.29.0. Feature * Allow using ssh-key to push version while using token to publish to...
Read more >Semantic Versioning with CI/CD and semantic-release
What is semantic versioning? · Major : incrementing this number (1.0.0 -> 2.0.0) indicates users should expect significant breaking changes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Version
7.29.0
is also broken for me.I do not anymore have an issue with the release. Most likely it is fixed in some version, therefore closing the issue.