Skip to content

Commit 03ef745

Browse files
ci(git-cliff): 修正时区,更新配置
```log WARN git_cliff_core::changelog > Variables ["commit.github", "commit.gitea", "commit.gitlab", "commit.bitbucket"] are deprecated and will be removed in the future. Use `commit.remote` instead. ```
1 parent 02e3960 commit 03ef745

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Acronyms:
1111

1212
**Bolded text highlights its importance.**
1313

14-
## [3.8.4] - 2025-04-17
14+
## [3.8.4] - 2025-04-18
1515

1616
### <!-- 0 -->🚀 Features
1717

@@ -294,7 +294,7 @@ Acronyms:
294294

295295
- Update version to 3.7.6 ([c5a624f](https://github.com/BITNP/BIThesis/commit/c5a624f3f8ecf453030c5437dcd1f47806b6129b)) by @fky2015
296296

297-
## [3.7.5] - 2024-04-24
297+
## [3.7.5] - 2024-04-25
298298

299299
### <!-- 1 -->🐛 Bug Fixes
300300

@@ -337,7 +337,7 @@ Acronyms:
337337
- Add star history in readme ([97195c0](https://github.com/BITNP/BIThesis/commit/97195c0576005a3bb19075256ab84d9a3b75df05)) by @fky2015 in [#458](https://github.com/BITNP/BIThesis/pull/458)
338338
- Update version to 3.7.4 ([8f6f509](https://github.com/BITNP/BIThesis/commit/8f6f5095708170362a14f3017dc7702b2b5dd9f5)) by @fky2015 in [#460](https://github.com/BITNP/BIThesis/pull/460)
339339

340-
## [3.7.3] - 2024-04-11
340+
## [3.7.3] - 2024-04-12
341341

342342
### <!-- 0 -->🚀 Features
343343

@@ -440,7 +440,7 @@ Acronyms:
440440

441441
## New Contributors
442442
* @Manpopp made their first contribution
443-
## [3.6.2] - 2024-02-26
443+
## [3.6.2] - 2024-02-27
444444

445445
### <!-- 1 -->🐛 Bug Fixes
446446

@@ -488,7 +488,7 @@ Acronyms:
488488

489489
## New Contributors
490490
* @lsylusiyao made their first contribution in [#391](https://github.com/BITNP/BIThesis/pull/391)
491-
## [3.6.0] - 2023-10-01
491+
## [3.6.0] - 2023-10-02
492492

493493
### <!-- 0 -->🚀 Features
494494

@@ -1465,7 +1465,7 @@ Acronyms:
14651465

14661466
- *(all)* Modify chapter style ([0e1bf37](https://github.com/BITNP/BIThesis/commit/0e1bf37d521ffc959c2a11bee672085b80183ade)) by @Silverster98
14671467

1468-
## [0.0.1] - 2020-02-29
1468+
## [0.0.1] - 2020-03-01
14691469

14701470
### <!-- 0 -->🚀 Features
14711471

cliff.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body = """
2727
{%- endmacro -%}
2828
2929
{% if version %}\
30-
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
30+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d", timezone="Asia/Shanghai") }}
3131
{% else %}\
3232
## [unreleased]
3333
{% endif %}\
@@ -37,9 +37,9 @@ body = """
3737
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
3838
{% if commit.breaking %}[**breaking**] {% endif %}\
3939
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ commit.id }}))\
40-
{% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%}
41-
{% if commit.github.pr_number %} in \
42-
[#{{ commit.github.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.github.pr_number }}) \
40+
{% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif -%}
41+
{% if commit.remote.pr_number %} in \
42+
[#{{ commit.remote.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.remote.pr_number }}) \
4343
{%- endif -%}
4444
{% endfor %}
4545
{% endfor %}\n

0 commit comments

Comments
 (0)