Skip to content

Commit 3ffe090

Browse files
committed
add CHANGELOG
now that the crate has been released new (notable) changes should be documented for consumers. the updating of the changelog for releases is automated using [`cargo release`)[https://github.com/crate-ci/cargo-release).
1 parent b1bcb7c commit 3ffe090

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
<!-- next-header -->
8+
## [Unreleased] - ReleaseDate
9+
10+
<!-- next-url -->
11+
[Unreleased]: https://github.com/rursprung/tb6612fng-rs/compare/v0.1.1...HEAD
12+
[0.1.1]: https://github.com/rursprung/tb6612fng-rs/compare/v0.1.0...v0.1.1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ See the documentation for usage examples.
2323
## Optional features
2424
* `defmt`: you can enable the [`defmt`](https://defmt.ferrous-systems.com/) feature to get a `defmt::debug!` call for every speed change.
2525

26+
## Changelog
27+
For the changelog please see the dedicated [CHANGELOG.md](CHANGELOG.md).
28+
2629
## Minimum Supported Rust Version (MSRV)
2730
This crate is guaranteed to compile on stable Rust 1.60 and up. It *might*
2831
compile with older versions but that may change in any new patch release.

release.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pre-release-replacements = [
2+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
4+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
5+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
6+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/rursprung/tb6612fng-rs/compare/{{tag_name}}...HEAD", exactly=1},
7+
]

0 commit comments

Comments
 (0)