diff --git a/publish/promptingpublish.groovy b/publish/promptingpublish.groovy index 053004e..f6002e5 100644 --- a/publish/promptingpublish.groovy +++ b/publish/promptingpublish.groovy @@ -62,10 +62,14 @@ pipeline { def results = rt.startswithspecialprefix(release) if (results.prefixfound) { canadd = false + echo "Found prefix in ${release}" } } - if (FILTER_LONGNAME_RELEASES && release.findAll(/[a-zA-Z]/)) { - canadd = false + if (FILTER_LONGNAME_RELEASES) { + if (release.findAll(/[a-zA-Z]/)) { + canadd = false + echo "${release} is a long name" + } } if (canadd) { echo("Showing release: ${release}")