From: Jim Procter Date: Wed, 11 Sep 2024 16:43:22 +0000 (+0100) Subject: JAL-4454 make sure 2.11.4.0-test is stripped X-Git-Tag: Release_2_11_4_0~10^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=96e15273c58ad93f09a18d52e7eadcf6901012aa;p=jalview.git JAL-4454 make sure 2.11.4.0-test is stripped --- diff --git a/build.gradle b/build.gradle index a199713..cf9cd86 100644 --- a/build.gradle +++ b/build.gradle @@ -1329,7 +1329,7 @@ def setReleaseAndWhatsNew(File whatsnewMdFile, File releaseMdFile) { { var nearestVersion = "${JALVIEW_VERSION_UNDERSCORES}" print "Stripping rc/test/etc for ${nearestVersion}" - nearestVersion = nearestVersion.replaceAll(~/\-?(d|rc|test|develop|dev).+/,"") + nearestVersion = nearestVersion.replaceAll(~/-?(d|rc|test|develop|dev).+/,"") var nearestMd = file("${jalviewDir}/${whatsnew_dir}/whatsnew-${nearestVersion}.md") print "Looking in ${nearestMd}" if (nearestMd.exists()) {