Skip to content

Commit 5218094

Browse files
committed
add some advice from AI review
1 parent bc05419 commit 5218094

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77
<!-- markdownlint-disable MD024 -->
88

9-
## [Unreleased]
9+
## [Unreleased] - 2024-09-21 to present
1010

1111
### <!-- 1 --> 🚀 Added
1212

@@ -16,13 +16,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
- Fix typo in node-binding/README by @2bndy5 in [`7732676`](https://github.com/cpp-linter/cpp_linter_rs/commit/7732676e03941a37a4fb5b474d319c640689985a)
1818

19+
### <!-- 6 --> 📦 Dependency updates
20+
21+
- Bump the npm group with 2 updates by @dependabot[bot] in [#43](https://github.com/cpp-linter/cpp_linter_rs/pull/43)
22+
1923
### <!-- 8 --> 📝 Documentation
2024

2125
- Release trial follow up by @2bndy5 in [#41](https://github.com/cpp-linter/cpp_linter_rs/pull/41)
2226

2327
### <!-- 9 --> 🗨️ Changed
2428

2529
- Gimme them badges by @2bndy5 in [`c0f1ea5`](https://github.com/cpp-linter/cpp_linter_rs/commit/c0f1ea516ee6efdf1137884cbc2e99e4ce1d4a11)
30+
- Move logic from py script to jinja template (release CI) in [`bc05419`](https://github.com/cpp-linter/cpp_linter_rs/commit/bc05419920e15704352d344a4fa7da67824cc776)
2631

2732
[Unreleased]: https://github.com/cpp-linter/cpp_linter_rs/compare/v2.0.0-rc4...HEAD
2833

cliff.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ body = """
1717
{%- macro remote_url() -%}
1818
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
1919
{%- endmacro -%}
20+
{%- set UNRELEASED = "Unreleased" -%}
2021
{%- set init_commit = "2e25fec0a447df24d0bcc1b80f6624040bab755e" -%}
21-
{%- set this_version = "Unreleased" -%}
22+
{%- set this_version = UNRELEASED -%}
2223
2324
{% if version -%}
2425
{%- set this_version = version | trim_start_matches(pat="v") -%}
@@ -28,7 +29,7 @@ body = """
2829
> {{ message }}
2930
{%- endif %}
3031
{% else -%}
31-
## [Unreleased]
32+
## [{{ UNRELEASED }}] - {{ previous.timestamp | date(format="%Y-%m-%d") }} to present
3233
{% endif -%}
3334
3435
{% for group, commits in commits | group_by(attribute="group") %}
@@ -49,6 +50,7 @@ body = """
4950
{% if version -%}
5051
{%- set last_commit = version -%}
5152
{%- if not previous.version -%}
53+
{#- If this is the first versioned release, use the initial commit -#}
5254
{%- set first_commit = init_commit -%}
5355
{%- endif -%}
5456
{%- endif %}

0 commit comments

Comments
 (0)