When importing artifacts from repo, clone subcomponents; Remove git history; Mark them as released

This commit is contained in:
Dan Hawkins 2019-03-28 18:43:58 +00:00
commit 49783e0f46

View file

@ -66,7 +66,7 @@ def artifactimportfromrepo(meta, String repo, String revision, String destpath,
rewritemetafileasreleased(relatedmeta, metafilepath)
}
gh.stripgithistory(destpath)
def metafilepath = "${destpath}/${relatedmeta.metafilepath()}"
def metafilepath = "${destpath}/${meta.metafilepath()}"
echo "Marking root meta as released and rewriting meta file: ${metafilepath}"
rewritemetafileasreleased(meta, metafilepath)