From d31da2db9f5da3690a87349d387499509563d54a Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Tue, 5 Nov 2024 11:15:32 +0000 Subject: [PATCH] Do not use release version in name if openmicroscopy --- components/antlib/scripts/source-archive.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/antlib/scripts/source-archive.py b/components/antlib/scripts/source-archive.py index f165a8c5830..3c1eb517aa0 100755 --- a/components/antlib/scripts/source-archive.py +++ b/components/antlib/scripts/source-archive.py @@ -98,7 +98,10 @@ # Create destination zip file print(" - creating %s/%s.zip" % (target, release)) sys.stdout.flush() - basezip = zipfile.ZipFile("%s/%s.zip" % (target, release), 'w') + if target == "openmicroscopy": + basezip = zipfile.ZipFile("%s/%s.zip" % (target, release), 'w') + else: + basezip = zipfile.ZipFile("%s.zip" % (target), 'w') # Repack each of the separate zips into the destination zip for name in zips: