diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2022-10-23 19:15:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 19:15:31 +0200 |
commit | 38fa17418d18517f0b2950ca50c565ceabf83c3b (patch) | |
tree | ede9b9569bc1a774ffa4959306c7c58927f68599 /tbump.toml | |
parent | 40c243bd166164b4c484cf2c90d5b2543a5938c1 (diff) | |
download | pylint-git-38fa17418d18517f0b2950ca50c565ceabf83c3b.tar.gz |
Confirm changes before tbump commit (#7666)
Diffstat (limited to 'tbump.toml')
-rw-r--r-- | tbump.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tbump.toml b/tbump.toml index d5c0fc8a8..3b61c031d 100644 --- a/tbump.toml +++ b/tbump.toml @@ -52,6 +52,10 @@ cmd = "python3 script/create_contributor_list.py" name = "Apply pre-commit" cmd = "pre-commit run --all-files||echo 'Hack so this command does not fail'" +[[before_commit]] +name = "Confirm changes" +cmd = "read -p 'Continue (y)? ' -n 1 -r; echo; [[ ! $REPLY =~ ^[Yy]$ ]] && exit 1 || exit 0" + # Or run some commands after the git tag and the branch # have been pushed: # [[after_push]] |