From 4132468f2cb78c3c93ae37c9259fdf0f2f518f18 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Wed, 12 Jul 2023 17:35:56 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=B8=8D=E5=86=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=9C=80=E8=BF=91=E7=9A=84=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git-cliff/cliff.toml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/git-cliff/cliff.toml b/git-cliff/cliff.toml index d705ea1..65da62f 100644 --- a/git-cliff/cliff.toml +++ b/git-cliff/cliff.toml @@ -14,16 +14,11 @@ header = """ # https://tera.netlify.app/docs/ body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## Release {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\ -{% if previous %}\ - {% if previous.commit_id %} - [{{ previous.commit_id | truncate(length=7, end="") }}](https://github.com/hamster1963/Speed-Cron-Updater/commit/{{ previous.commit_id }})...\ - [{{ commit_id | truncate(length=7, end="") }}](https://github.com/hamster1963/Speed-Cron-Updater/commit/{{ commit_id }}) - {% endif %}\ -{% endif %}\ + {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %}