From 8550c5b6f34dcf257829dcdddd0eb6157d48a3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 14 Aug 2018 08:30:31 +0200 Subject: [PATCH] channel: also commit repos.json/repos.json.lock --- nur/channel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nur/channel.py b/nur/channel.py index b1a97d943..66d46b2ed 100644 --- a/nur/channel.py +++ b/nur/channel.py @@ -124,6 +124,9 @@ def update_channel(path: Path) -> None: update_lock_file(updated_repos, path.joinpath("repos.json.lock")) + with chdir(path): + commit_files(["repos.json", "repos.json.lock"], "update repos.json + lock") + def setup_channel() -> None: manifest_path = "repos.json"