We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44863dd commit f0e0815Copy full SHA for f0e0815
ci/src/merge-manifest.py
@@ -8,10 +8,20 @@ def get_new_plugins() -> list[dict[str]]:
8
ids = get_new_plugin_submission_ids()
9
plugins_from_plugins_dir = plugin_reader()
10
11
- return [plugins_from_plugins_dir[id] for id in ids]
+ 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
20
21
22
if __name__ == "__main__":
23
+ save_plugins_json_file(get_new_plugins())
24
25
if len(sys.argv) > 1 and str(sys.argv[1]) == "new-only":
26
save_plugins_json_file(get_new_plugins())
27
else:
0 commit comments