Skip to content

Commit f0e0815

Browse files
committed
add
1 parent 44863dd commit f0e0815

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

ci/src/merge-manifest.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,20 @@ def get_new_plugins() -> list[dict[str]]:
88
ids = get_new_plugin_submission_ids()
99
plugins_from_plugins_dir = plugin_reader()
1010

11-
return [plugins_from_plugins_dir[id] for id in ids]
11+
new_plugins = []
12+
13+
for id in ids:
14+
for plugin in plugins_from_plugins_dir:
15+
if plugin["ID"] == id:
16+
new_plugins.append(plugin)
17+
break
18+
19+
return new_plugins
1220

1321

1422
if __name__ == "__main__":
23+
save_plugins_json_file(get_new_plugins())
24+
1525
if len(sys.argv) > 1 and str(sys.argv[1]) == "new-only":
1626
save_plugins_json_file(get_new_plugins())
1727
else:

0 commit comments

Comments
 (0)