Closed Zabraks closed 1 year ago
Hi @Zabraks ,
unfortunately Nyx doesn't fetch those fields from remote providers and only provides information about the Git history within the release scope.
The fields you ask are typically hardcoded in custom templates, provided templates are project specific. But since you ask I guess you need something more generic to be used across multiple projects.
In other words what you need is some sort of template of templates, not available in Nyx. To do that you need to render the template in two steps (the order shouldn't be relevant), where an additional step fills the fields you need. For that rendering step you need to use some other means, external to Nyx, maybe another Handlebar engine, passing structured data for each specific project.
Hello!
I'm trying to create a changelog template using handlebars, but I'm not able to get it.
The idea is to create a template that provides additional variables to the predefined ones like project name, gitlab group name, url, etc.
can you give me a small example of how to enrich the template with more values?
Thank you very much.