From d4f95ec8d247c5bfa5c47a5898cc4c8eea4acec3 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 6 Nov 2024 22:29:05 +0000 Subject: [PATCH] Do not add release when zipping openmicroscopy source --- components/antlib/scripts/source-archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/antlib/scripts/source-archive.py b/components/antlib/scripts/source-archive.py index f165a8c5830..41e05e0b51f 100755 --- a/components/antlib/scripts/source-archive.py +++ b/components/antlib/scripts/source-archive.py @@ -61,7 +61,8 @@ vcs_date = sys.argv[6] vcs_date_unix = sys.argv[7] target = os.path.abspath(sys.argv[8]) - release = "%s-%s" % (release, version) + if release != "openmicroscopy": + release = "%s-%s" % (release, version) if not os.path.isdir('.git'): raise Exception('Releasing is only possible from a git repository')