From ab9ade3d10acfa51cfde0e626323782ffa5a8808 Mon Sep 17 00:00:00 2001 From: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:59:16 +0200 Subject: [PATCH 1/7] feat: allow adding custom context --- git-cliff-core/src/changelog.rs | 36 +++++++++++++++++++++++++++------ git-cliff-core/src/template.rs | 4 ++-- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/git-cliff-core/src/changelog.rs b/git-cliff-core/src/changelog.rs index 662c306683..9ce12a639c 100644 --- a/git-cliff-core/src/changelog.rs +++ b/git-cliff-core/src/changelog.rs @@ -28,10 +28,13 @@ use std::time::{ #[derive(Debug)] pub struct Changelog<'a> { /// Releases that the changelog will contain. - pub releases: Vec>, - body_template: Template, - footer_template: Option