the API does not return the correct new version (autoversion 2.0.0)
Open
- Dominant language
- Python
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
old, new, updates = auto_version_tool.main(
release=True, enable_file_triggers=True, bump=None, config_path="...",
)
`new` always contains the prerelease suffix although it should be the new version and in this case, should be the production release.
For Python, it should be the same as `updates["__version__"]` but it isn't
Contributor guide
Research direction
Start at auto_version_tool.main with release=True and enable_file_triggers=True, then trace how new and updates["__version__"] are produced. Confirm the production-release path does not leave a prerelease suffix in new, and verify that new matches updates["__version__"] for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- release, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100