Closed melMass closed 2 months ago
Ah but the issue with chaining is that I will have to find the value of "new_version"
I'll check into the tagging/committing issue today.
@melMass I need more information since I can't reproduce the error. I created a test at it stops before it gets to the commit and tag part.
Can you include your configuration and add -vv
to the bump-my-version call for more verbose information?
Thanks for giving it a look, I'll do a more thoughtful reproduction tomorrow
Sorry for the delay, I'm abandoning the idea of tiding bmv to git hooks as there are multiple layers and it's prone to errors (I had the great idea to experiment with all that on a dirty repo 🤡 , lost a bunch of work).
I will comment here if I ever revisit the idea but after trying I would not recommend it!
Also doing it manually is more logical for me in the end.
Thanks for looking into the issue
Description
I just integrated bump-my-version as a pre-push to
main
and one very strange behaviour is that when bmv fails it still commit/tagWhat I Did
Is there a flag/option I'm missing to avoid this? If not I'll just chain the commit/tagging myself after bmv so that it's not executed when the later fails.