github: Add workflow to build bundles
Bundles contain an extract script that can be run when unbundled that puts everything in its place just like an install would do but without the need for python or the json files. Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
4
manager
4
manager
@@ -229,4 +229,6 @@ if __name__ == "__main__":
|
||||
elif args.action == "clean":
|
||||
clean(entries)
|
||||
elif args.action == "bundle":
|
||||
create_tool_bundle(datetime.now().strftime("%Y-%m-%d-%H-%M"), entries)
|
||||
tools = "-".join(sorted(list({entry['tool'] for entry in entries})))
|
||||
bundle_name = f"{datetime.now().strftime('%Y-%m-%d-%H-%M')}-{tools}"
|
||||
create_tool_bundle(bundle_name, entries)
|
||||
|
||||
Reference in New Issue
Block a user