From: Jim Procter Date: Wed, 30 Mar 2022 15:12:51 +0000 (+0100) Subject: JAL-3973 exclude the original RELEASE file so gradle doesn't complain of duplicate... X-Git-Tag: Release_2_11_2_1~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=10adcd5e4baa69f776b1ef696d7d739cc6fa8fb8;p=jalview.git JAL-3973 exclude the original RELEASE file so gradle doesn't complain of duplicate entries in the tarball --- diff --git a/build.gradle b/build.gradle index a071fe8..b4636bc 100644 --- a/build.gradle +++ b/build.gradle @@ -2042,6 +2042,7 @@ task sourceDist(type: Tar) { dependsOn eclipseAllPreferences dependsOn createSourceReleaseProperties + def VERSION_UNDERSCORES = JALVIEW_VERSION.replaceAll("\\.", "_") def outputFileName = "${project.name}_${VERSION_UNDERSCORES}.tar.gz" archiveFileName = outputFileName @@ -2065,6 +2066,7 @@ task sourceDist(type: Tar) { "*locales/**", "utils/InstallAnywhere", "**/*.log", + "RELEASE", ] def PROCESS_FILES=[ "AUTHORS",