Make sure to stage updated plugins

not just added or removed plugins
This commit is contained in:
Odd Stråbø 2021-04-13 08:46:54 +02:00
parent 792df5c1a5
commit e5e0cd6b3f

View File

@ -27,6 +27,7 @@ def update(_name, url=None):
subprocess.run(["git", "fetch", "--all", "--tags"], cwd=_name, check=True)
subprocess.run(["git", "checkout", "-f", "-B", "master", "origin/master"], cwd=_name, check=True)
subprocess.run(["git", "add", _name], check=True)
fetched.append(_name)
@ -105,4 +106,3 @@ if removed:
commit_message.append("- {}".format(plugin))
subprocess.run(["git", "commit", "-m", "\n".join(commit_message)])
subprocess.run(["git", "submodule", "update", "--init"])