Prevent committing to dev/master/rc directly (#32029)

* Prevent committing to dev/master/rc directly

* Skip pre-commit on version bump
This commit is contained in:
Franck Nijhof 2020-02-20 18:34:30 +01:00 committed by GitHub
parent 1c81e8ad68
commit b2f2afaf0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 20 deletions

View file

@ -140,7 +140,7 @@ def main():
if not arguments.commit:
return
subprocess.run(["git", "commit", "-am", f"Bumped version to {bumped}"])
subprocess.run(["git", "commit", "-nam", f"Bumped version to {bumped}"])
def test_bump_version():