diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2022-10-23 20:43:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 20:43:32 +0200 |
commit | daf3a9ec8c07781626f895b7c3af7883d909d0e0 (patch) | |
tree | 36d5305a77ab724792c1535eb27ae0ff51dc5725 /tbump.toml | |
parent | 3329d231ce2e30b1838565659c28e6274efacd17 (diff) | |
download | astroid-git-daf3a9ec8c07781626f895b7c3af7883d909d0e0.tar.gz |
Confirm changes before tbump commit (#1846)
Diffstat (limited to 'tbump.toml')
-rw-r--r-- | tbump.toml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -40,6 +40,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]] |