We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump2version --new-version 0.3.1 patch
.bumpversion.cfg:
[bumpversion] current_version = 0.3.1 [bumpversion:file:pyproject.toml] parse = ^version\s+=\s+['"]*(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)['"]* search = version = "{current_version}" replace = version = "{new_version}"
pyproject.toml BEFORE:
[tool.poetry] name = "project" version = "0.3.1" ...
pyproject.toml AFTER:
[tool.poetry] name = "project" version = "version = "0.3.1"" ...
The bug is here:
bump2version/bumpversion/utils.py
Line 121 in bc95374
The fix is something like this:
file_content_after = file_content_before.replace( self._versionconfig.search.format(**{**context, "current_version": current_version.original}), replace_with )
The text was updated successfully, but these errors were encountered:
Work around c4urself/bump2version#260
1a366b4
No branches or pull requests
bump2version --new-version 0.3.1 patch
.bumpversion.cfg:
pyproject.toml BEFORE:
pyproject.toml AFTER:
The bug is here:
bump2version/bumpversion/utils.py
Line 121 in bc95374
The fix is something like this:
The text was updated successfully, but these errors were encountered: