From bdeb7e5f0cdafab92efc3fe52b4d1e94ee3344e5 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 21 Mar 2022 17:48:20 +0100 Subject: Add a script to update the CONTRIBUTORS.txt --- tbump.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tbump.toml') diff --git a/tbump.toml b/tbump.toml index 0429cbd3a..6744a745e 100644 --- a/tbump.toml +++ b/tbump.toml @@ -32,6 +32,14 @@ cmd = "python3 script/bump_changelog.py {new_version}" name = "Upgrade and check doc" cmd = "tox -e docs||echo 'Hack so this command does not fail'" +[[before_commit]] +name = "Normalize the contributors-txt configuration" +cmd = "contributors-txt-normalize-configuration -a script/.contributors_aliases.json -o script/.contributors_aliases.json" + +[[before_commit]] +name = "Upgrade the contributors list" +cmd = "python3 script/create_contributor_list.py" + [[before_commit]] name = "Upgrade copyrights" cmd = "pip3 install copyrite;copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8" -- cgit v1.2.1