Closed balrok closed 4 years ago
thanks for your comments in both PR :-) having the VersionConfig created outside of the loop will also reuse the object between the globbed-files
having the VersionConfig created outside of the loop will also reuse the object between the globbed-files
Yes. I think that's good because it only sets variables in the constructor, not at runtime. This saves some resources.
just one small fix, I was not aware that python-glob does not interpret "**" by default as recursive.. one has to set the recursive-flag in this function before.. there is now also a test for this
Thanks @balrok!
Awesome feature, thanks @balrok! You just saved me a bunch of time!
This implements https://github.com/c4urself/bump2version/issues/64