Mark all components below a released parent component as released
This commit is contained in:
parent
ce17357040
commit
fd5e5e7f56
2 changed files with 2 additions and 1 deletions
|
|
@ -326,6 +326,7 @@ def artifactimport(meta,
|
|||
if (findresults.matchfound) {
|
||||
childmeta = findresults.matchedmetaitem.metainfo
|
||||
echo "Parent meta indicates it is released: ${parentmeta.releaseinfo.released}"
|
||||
echo "Child meta indicates it is released: ${childmeta.releaseinfo.released}"
|
||||
if (importoptions.m_sourceselect == 'Release repository' || parentmeta.releaseinfo.released) {
|
||||
importoptions.releaserepo(childmeta.releaseinfo.releaserepoURL, childmeta.releasetag())
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -711,7 +711,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
void markreleased() {
|
||||
script.echo("Marking product: ${productinfo.productname} component: ${productinfo.subcomponentname} as released")
|
||||
script.echo("Marking product: ${productinfo.productvariant()} component: ${productinfo.subcomponentname} as released")
|
||||
releaseinfo.markreleased()
|
||||
for (associated in associatedmeta) {
|
||||
associated.markreleased()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue