mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Tweak format of zkg
information in build info.
This commit is contained in:
parent
7945043192
commit
40b1d8f913
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ def main():
|
||||||
zkg_provides_info = copy.deepcopy(included_plugins_info)
|
zkg_provides_info = copy.deepcopy(included_plugins_info)
|
||||||
# Hardcode the former spicy-plugin so that zkg knows Spicy is available.
|
# Hardcode the former spicy-plugin so that zkg knows Spicy is available.
|
||||||
zkg_provides_info.append({"name": "spicy-plugin", "version": info["version"].split("-")[0]})
|
zkg_provides_info.append({"name": "spicy-plugin", "version": info["version"].split("-")[0]})
|
||||||
info["zkg_provides"] = zkg_provides_info
|
info["zkg"] = {"provides": zkg_provides_info}
|
||||||
|
|
||||||
json_str = json.dumps(info, indent=2, sort_keys=True)
|
json_str = json.dumps(info, indent=2, sort_keys=True)
|
||||||
print(json_str)
|
print(json_str)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue