question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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 https://github.com/relekang/python-semantic-release/pull/435 but can not figure out how it should be fixed.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:9

github_iconTop GitHub Comments

4reactions
vberliercommented, May 31, 2022

Version 7.29.0 is also broken for me.

0reactions
tatu-aaltocommented, Dec 9, 2022

I do not anymore have an issue with the release. Most likely it is fixed in some version, therefore closing the issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found