The version number will be confused when use `--prerelease` option
See original GitHub issueThe problem
The version number will be confused when use --prerelease
option:
Expected behavior
The version number is incremented in the normal way.
Additional context
When I execute this command many times, there is a problem with the version number, the log as follows:
(venv) pydemo % semantic-release version --prerelease
Creating new version
Current version: 0.3.5
Bumping with a None version to 0.3.5-beta.3
(venv) pydemo % semantic-release version --prerelease
Creating new version
Current version: 0.3.6
Bumping with a None version to 0.3.6-beta.4
(venv) pydemo % semantic-release version --prerelease
Creating new version
Current version: 0.3.5
Bumping with a None version to 0.3.5-beta.5
(venv) pydemo % semantic-release version --prerelease
Creating new version
Current version: 0.3.6
Bumping with a None version to 0.3.6-beta.6
semantic_release config in pyproject.toml
:
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Resetting of pre-release and build versions... #60 - GitHub
According to the Specification, patch version must be reset to 0 when minor version is incremented and both patch and minor versions must...
Read more >Pre-release versions are not matched by pip when using the
The pip --pre option directs pip to include potential matching pre-release and development versions, but it does not change the semantics of ...
Read more >Software versioning - Wikipedia
Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software.
Read more >Best Practices When Versioning a Release | Cloudbees Blog
The simplest thing to do is start your initial development release at 0.1.0 and then increment the minor version for each subsequent release....
Read more >What's the difference between Alpha, Beta, Pre-release, and ...
Release: Pre-purchase discounting ends. The final product is released to the general public and new licenses are distributed to everyone who pre-purchased the ......
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
@FlorentGodin I made an error when implementing - a new fixed version is already in progress
This bug report has been labelled as help wanted since there has been no activity in the last 3 weeks. It will not be closed.