mirror of
https://github.com/jellyfin/jellyfin-meta-plugins.git
synced 2024-11-23 06:09:47 +00:00
Make sure to stage updated plugins
not just added or removed plugins
This commit is contained in:
parent
792df5c1a5
commit
e5e0cd6b3f
@ -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"])
|
||||
|
Loading…
Reference in New Issue
Block a user