diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-28 10:09:33 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-28 10:09:33 -0400 |
commit | 12fded0aa09d094799a901b72dd8adccac890696 (patch) | |
tree | 57f93228ff33365503f9392f948991ca6c7aad0f /src/stasis_main.c | |
parent | ce10a7cdbe237fa689fb07670691c91fd081e705 (diff) | |
download | stasis-12fded0aa09d094799a901b72dd8adccac890696.tar.gz |
Implement get_github_release_notes_auto function that bases release note data off test contexts
Diffstat (limited to 'src/stasis_main.c')
-rw-r--r-- | src/stasis_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |