fix: changelog gen version header

This commit is contained in:
Methapon2001 2024-07-12 10:38:41 +07:00
parent 40ec578469
commit 3066ec3996
2 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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 %}\