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")