Commit 9d140006 authored by Nico's avatar Nico
Browse files

make script executable

parent 9ed1173c
File mode changed from 100644 to 100755
......@@ -65,6 +65,10 @@ for job in pipeline_jobs:
with zipfile.ZipFile(artifact_temp) as artifact_zip:
version = find_version_from_archive(artifact_zip.infolist())
print(f"Version is {version}")
artifact_zip.extractall("gluon/output/")
os.rename("gluon/output", version)
if not os.path.exists(version):
print(version)
artifact_zip.extractall("gluon/output/")
os.rename("gluon/output", version)
else:
print(f"'{version}' already exists")
sys.exit(1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment