Closed chinmayshah99 closed 4 years ago
Hi, I haven't used bumpversion before but would like to help. Do I understand correctly that you want to add a file specific configuration for docs/conf.py to setup.cfg like this:
[bumpversion:file:docs/conf.py]
search = version="{current_version}"
replace = version="{new_version}"
?
As suggested by @BenjaminDev, the other option is just to replace version=u"0.1.1
with version=pydp.__version__
and similarly for release
(in docs/conf.py). The docs build as expected with it configured this way. Which solution do you think is best?
Description
Using bumpversion, we are able to change the version of python version throughout the codebase. It would be great if we could add version number in the documentation to setup.cfg
Additional info
Check on how bumpvesion works.