Skip to content

Commit

Permalink
doc: keep v literal before version numbers in Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Mar 16, 2024
1 parent c233ea2 commit 879574b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

All notable changes to this project will be documented in this file.

## [0.2.0] - 2024-03-16
## [unreleased]

### ⚙️ Miscellaneous Tasks

- Windows-archive with .tar.gz instead of default zip

## [v0.2.0] - 2024-03-16

### 🚀 Features

Expand Down Expand Up @@ -50,6 +56,7 @@ All notable changes to this project will be documented in this file.
- Keep colon in where bound
- Carefully handle format for named structs
- None field in a tuple struct is a placeholder, thus not hide them
- Cfg nighyly for integration test for cargo-dist to work on stable

### 🚜 Refactor

Expand Down Expand Up @@ -130,8 +137,9 @@ All notable changes to this project will be documented in this file.
- Update_area even if no valid id; add spacing for decl and md
- Private fields display in structs
- Prepare for release
- Mv codegen-backend feature from cargo.toml to local config.toml

## [0.1.1] - 2024-03-02
## [v0.1.1] - 2024-03-02

### 🚀 Features

Expand All @@ -145,7 +153,7 @@ All notable changes to this project will be documented in this file.

- Add license and version badgets

## [0.1.0] - 2024-03-02
## [v0.1.0] - 2024-03-02

### 🚀 Features

Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
Expand Down

0 comments on commit 879574b

Please sign in to comment.