From 3066ec39960078df8fb3c5961e09cc78588feff6 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:38:41 +0700 Subject: [PATCH] fix: changelog gen version header --- CHANGELOG.md | 9 +++++---- cliff.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 798a7b0..a09921d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,9 @@ All notable changes to this project will be documented in this file. ### ⚙️ Miscellaneous Tasks - Update notify message +- Update changelog -## [ersion-0.1.0] - 2024-07-11 +## [0.1.0] - 2024-07-11 ### 🚀 Features @@ -36,7 +37,7 @@ All notable changes to this project will be documented in this file. - Update text -## [ersion-0.0.3] - 2024-07-11 +## [0.0.3] - 2024-07-11 ### 🐛 Bug Fixes @@ -46,7 +47,7 @@ All notable changes to this project will be documented in this file. - Update script -## [ersion-0.0.2] - 2024-07-11 +## [0.0.2] - 2024-07-11 ### 🚜 Refactor @@ -56,7 +57,7 @@ All notable changes to this project will be documented in this file. - Clean up -## [ersion-0.0.1] - 2024-07-11 +## [0.0.1] - 2024-07-11 ### 🚀 Features diff --git a/cliff.toml b/cliff.toml index b0f88b2..42eeb4d 100644 --- a/cliff.toml +++ b/cliff.toml @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.\n # https://keats.github.io/tera/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## [{{ version | trim_start_matches(pat="version-") }}] - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\