aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Ursprung <[email protected]>2025-06-08 12:16:07 +0200
committerRalph Ursprung <[email protected]>2025-07-08 23:05:49 +0200
commit80bb09cdb1599e185023ae39d144f353f6ebc10f (patch)
treec6580bd992b50e1861c3483f8c04704345d68822
parent9f9c6f328d1da8a4ec7bea41b4d1355665af55cb (diff)
`embassy-time-driver`: add release automation using `cargo-release`
this requires you to install [`cargo-release`]. note that this does not include a URL pointing to the diff on GitHub as is usually done in changelogs since `embassy` is a mono-repo and the GH UI doesn't offer a commit view per folder (see the [GH feature request] for this). [`cargo-release`]: https://crates.io/crates/cargo-release [GH feature request]: https://github.com/orgs/community/discussions/162131
-rw-r--r--embassy-time-driver/CHANGELOG.md3
-rw-r--r--embassy-time-driver/release.toml5
2 files changed, 7 insertions, 1 deletions
diff --git a/embassy-time-driver/CHANGELOG.md b/embassy-time-driver/CHANGELOG.md
index 349df15a7..b61a10bf6 100644
--- a/embassy-time-driver/CHANGELOG.md
+++ b/embassy-time-driver/CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## Unreleased 8<!-- next-header -->
9## Unreleased - ReleaseDate
9 10
10- Allow inlining on time driver boundary 11- Allow inlining on time driver boundary
11- add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` 12- add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK`
diff --git a/embassy-time-driver/release.toml b/embassy-time-driver/release.toml
new file mode 100644
index 000000000..fb6feaf21
--- /dev/null
+++ b/embassy-time-driver/release.toml
@@ -0,0 +1,5 @@
1pre-release-replacements = [
2 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
3 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
4 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1},
5]