Ensure directory exists
All checks were successful
Python tests (make) / test (push) Successful in 12s
All checks were successful
Python tests (make) / test (push) Successful in 12s
This commit is contained in:
@@ -12,6 +12,9 @@ class Packager:
|
||||
ignore_patterns=None
|
||||
):
|
||||
|
||||
package_dir = "./deploy/package"
|
||||
os.makedirs(package_dir, exist_ok=True)
|
||||
|
||||
timestamp = datetime.now().strftime("%Y%m%d%H%M")
|
||||
filename = f"{timestamp}.{name}.zip"
|
||||
self.outfile = os.path.join("./deploy/package", filename)
|
||||
|
||||
Reference in New Issue
Block a user