Skip to content

Commit

Permalink
style: 不再显示最近的提交
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Jul 12, 2023
1 parent 77bc942 commit 4132468
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions git-cliff/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 4132468

Please sign in to comment.