From db92ee3e90180bef27289b57e025e79d650ae208 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Tue, 1 Mar 2022 23:05:39 +0000 Subject: [PATCH] Debug release filtering --- publish/promptingpublish.groovy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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}")