One level of meta too high was being marked as released when importing an already released component (from a release repository)

This commit is contained in:
Dan Hawkins 2019-06-06 14:08:13 +01:00
commit 633a8dc8cb

View file

@ -89,7 +89,7 @@ def artifactimportfromrepo(meta, String repo, String revision, String destpath,
gh.stripgithistory(destpath)
def metafilepath = "${destpath}/${meta.metafilepath()}"
echo "Marking root meta as released and rewriting meta file: ${metafilepath}"
rewritemetafileasreleased(meta, metafilepath)
rewritemetafileasreleased(importedmeta, metafilepath)
if (incrementversionnumber) {
meta.buildstampinfo.changerevision(versiongenerator.incrementrevision(meta.buildstampinfo.revision, importedmeta.buildstampinfo.revision))