Closed flamingbear closed 10 years ago
Nevermind, I didn't have a correct serialize in my file parts.
[bumpversion:file:README.md]
parse = version: (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
serialize = version: {major}.{minor}.{patch}
Keeps my version history clean.
I'm interested in bumping a version for a package that contains a README with both a
##Current Version **M.m.p**
and later has##Version History
...* M.m.p ...
When I bump the version, I don't want to change the version pertaining to the version history. So that after a bumpversion patch, I would have
##Current Version **M.m.p+1**
and##Version History
...* M.m.p ...
would remain unchanged. It seems like I should be able to do this with parse options and file specific configuration, but I'm not having luck. Any suggestions would be great.Thanks Matt