A small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment and optionally commit and tag the changes.
When I have pre-commit enabled, if my cache is empty, pre-commit clones the hooks and tries to use them for the rest of committing moments. Since bump-my-version uses the classic git commit command, it will trigger pre-commit. That's why if I'm not connected to the internet or don't have access to those pre-commit hooks repositories, bumping my version would stop in the committing stage. Then, I have to commit them on my own. Ultimately, do git tag because git tag happens after git commit.
This is what it raises after a few minutes:
Failed to run ['git', 'commit', '-F', '/var/folders/w8/1ylgn1zn1ks8qrqyt1w32gjc0000gn/T/tmpex2iowly']: return code 1, │
│ output: b''
Worth noting
Adding the --no-verify option when committing, won't trigger the pre-commit hooks.
Description
When I have
pre-commit
enabled, if my cache is empty,pre-commit
clones the hooks and tries to use them for the rest of committing moments. Sincebump-my-version
uses the classicgit commit
command, it will triggerpre-commit
. That's why if I'm not connected to the internet or don't have access to those pre-commit hooks repositories, bumping my version would stop in the committing stage. Then, I have to commit them on my own. Ultimately, dogit tag
becausegit tag
happens aftergit commit
.This is what it raises after a few minutes:
Worth noting
Adding the
--no-verify
option when committing, won't trigger thepre-commit
hooks.