From eb960a6d80ddcf015690e63cc1ec354f13ed45d5 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Fri, 11 Mar 2022 08:25:17 +0000 Subject: [PATCH] Debug sha/tags table --- product/info.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/info.groovy b/product/info.groovy index 3cc3bb9..995c936 100644 --- a/product/info.groovy +++ b/product/info.groovy @@ -135,14 +135,14 @@ def parseproductdependencies(LinkedHashMap productcollect meta.releasetag(), meta.releaseinfo.releaserepoURL) pd.setreleasestate() - if (meta.productinfo.subcomponentname == 'WHOLE') { + if (meta.productinfo.subcomponentname == 'WHOLE' && meta.productvariant() != '') { if (meta.productvariant() != containingproductvariant) { // Don't add myself addProductEntry(productcollection, meta.productvariant(), meta.releaseinfo.releaserepoURL) productrelease.addProductDependency(pd) } - } else if (meta.productvariant() != containingproductvariant) { + } else if (meta.productvariant() != containingproductvariant && meta.productvariant() != '') { addProductEntry(productcollection, meta.productvariant(), meta.releaseinfo.releaserepoURL)