Open tomschr opened 8 years ago
a lookahead for the commit after the bumpversion commit would be great. may this could be implemented using quantum mechanics.
It could be achieved by doing a search for the version bumping message like this: git log --oneline | grep "Bump version"
This should be doable with commit=False
where you just want to tag the current commit.
I decided to roll my own. Check out version_upper
Luckily, bumpversion supports the major, minor, and patch style. However, sometimes, this is not enough.
For example, when you want to track the current Git hash it would be nice if bumpversion could support a
{githash}
variable as well. Can be retrieved with this command: