c4urself / bump2version

Version-bump your software with a single command
https://pypi.python.org/pypi/bump2version
MIT License
1.06k stars 134 forks source link

New commandline flag to not check/update the configured files #149

Closed balrok closed 4 years ago

balrok commented 4 years ago

Use-cases:

With the -h text I'm not sure: I'm open for suggestions :-)

balrok commented 4 years ago

@c4urself can you merge this PR too? this is the last feature to avoid having a custom-built bump2version in our pipelines

Right now I need this for this: bump2version major --allow-dirty --no-configured-files --new-version=$newVersion --search='## Unreleased' --replace='## {new_version} ({now:%d.%m.%Y})' '${changelogFile}' || true"

since changelog and versioning are two concerns in the code and changelog-bumping should only happen on minor-version increments, I need this flag

ekohl commented 4 years ago

I think sufficient time has passed for other reviewers and LGTM.

c4urself commented 4 years ago

thanks!