From 944b1d987845721654145a3304113aac01f618c4 Mon Sep 17 00:00:00 2001 From: Romeo Kienzler Date: Fri, 21 Jun 2024 14:30:55 +0200 Subject: [PATCH] add version information of generated containerless zip --- src/c3/create_containerless_operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3/create_containerless_operator.py b/src/c3/create_containerless_operator.py index 3b6ee4e..4135f84 100644 --- a/src/c3/create_containerless_operator.py +++ b/src/c3/create_containerless_operator.py @@ -36,7 +36,7 @@ def create_containerless_operator( 'source ./claimedenv/bin/activate', f'pip install {all_pip_packages_found.strip()}', 'pip list', - f'zip -r {filename}.zip {file_path} claimedenv', + f'zip -r claimed-{filename}:{version}.zip {file_path} claimedenv', 'rm -Rf claimedenv']), shell=True) script_data = Pythonscript(file_path)