From e87c7127294709e3eb3f6e2ee6582c6a6890d788 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 12 Sep 2024 11:04:37 +0100 Subject: [PATCH] JAL-4454 make sure 2.11.4.0-test is stripped - *for reals* --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index cf9cd86..1cd0565 100644 --- a/build.gradle +++ b/build.gradle @@ -1328,10 +1328,10 @@ def setReleaseAndWhatsNew(File whatsnewMdFile, File releaseMdFile) { if (CHANNEL != "RELEASE") { var nearestVersion = "${JALVIEW_VERSION_UNDERSCORES}" - print "Stripping rc/test/etc for ${nearestVersion}" - nearestVersion = nearestVersion.replaceAll(~/-?(d|rc|test|develop|dev).+/,"") + println "Stripping rc/test/etc for ${nearestVersion}" + nearestVersion = nearestVersion.replaceAll(~/-?(d|rc|test|develop|dev).*/,"") var nearestMd = file("${jalviewDir}/${whatsnew_dir}/whatsnew-${nearestVersion}.md") - print "Looking in ${nearestMd}" + println "Looking in ${nearestMd}" if (nearestMd.exists()) { whatsnewMdFile = nearestMd releaseMdFile = file("${jalviewDir}/${releases_dir}/release-${nearestVersion}.md") -- 1.7.10.2