bumpversion icon indicating copy to clipboard operation
bumpversion copied to clipboard

Version is not replaced in setup.cfg if bumpversion config is there too

Open manycoding opened this issue 6 years ago • 1 comments

[bumpversion]
current_version = 2018.01.31
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
serialize = 
	{major}.{minor}.{patch}

[bumpversion:file:setup.cfg]

[metadata]
name = perfect-jsonschema
version = 2018.01.31

If I run bumpversion --allow-dirty --new-version 2019.02.05 patch, the metadata:version won't change. The workaround is to move bumpversion setup to its .bumpversion.cfg

manycoding avatar Feb 05 '19 15:02 manycoding

@peritus Hi, any ideas?

manycoding avatar Feb 14 '19 14:02 manycoding