From 12fded0aa09d094799a901b72dd8adccac890696 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 28 Jun 2024 10:09:33 -0400 Subject: Implement get_github_release_notes_auto function that bases release note data off test contexts --- src/stasis_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stasis_main.c') diff --git a/src/stasis_main.c b/src/stasis_main.c index 13576a1..2abcbc4 100644 --- a/src/stasis_main.c +++ b/src/stasis_main.c @@ -262,7 +262,8 @@ int main(int argc, char *argv[]) { // Expose function(s) to the template engine // Prototypes can be found in template_func_proto.h - tpl_register_func("get_github_release_notes", &get_github_release_notes_tplfunc_entrypoint, 3); + tpl_register_func("get_github_release_notes", &get_github_release_notes_tplfunc_entrypoint, 3, NULL); + tpl_register_func("get_github_release_notes_auto", &get_github_release_notes_auto_tplfunc_entrypoint, 1, &ctx); // Set up PREFIX/etc directory information // The user may manipulate the base directory path with STASIS_SYSCONFDIR -- cgit