diff options
author | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2023-10-19 12:08:26 +0200 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2023-10-20 14:09:50 +0200 |
commit | 3fd1d891052208fb39d9b5ad0cbae6dec159e593 (patch) | |
tree | 324a1df88cf79c530807707e4c6382c880f61600 /maintainers/scripts | |
parent | 62361d020dbc29f58344533ee8200660609ec6b1 (diff) |
pluginupdate.py: mention the date when updating plugins
will apply to vimPlugins/kakoune/luarocks update
Diffstat (limited to 'maintainers/scripts')
-rw-r--r-- | maintainers/scripts/pluginupdate.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index 5ceaab8db901a..52e9af399709b 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -786,8 +786,11 @@ def update_plugins(editor: Editor, args): autocommit = not args.no_commit if autocommit: + from datetime import date editor.nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True) - commit(editor.nixpkgs_repo, f"{editor.attr_path}: update", [args.outfile]) + updated = date.today().strftime('%m-%d-%Y') + + commit(editor.nixpkgs_repo, f"{editor.attr_path}: updated the {updated}", [args.outfile]) if redirects: update() |