metadata: refactor into one function to do YAML post processing

It used to be that there had to be separate post processing steps depending
on whether it was parsing .txt or .yml.  The .txt format is long gone!

!772
This commit is contained in:
Hans-Christoph Steiner 2023-04-20 22:48:52 +02:00
parent 3869e1374b
commit a8531a03a6
4 changed files with 142 additions and 111 deletions

View file

@ -323,7 +323,7 @@ def main():
if git_modules.exists():
build.submodules = True
metadata.post_metadata_parse(app)
metadata.post_parse_yaml_metadata(app)
app['Builds'].append(build)