diff options
| author | Ralph Ursprung <[email protected]> | 2025-06-08 12:32:28 +0200 |
|---|---|---|
| committer | Ralph Ursprung <[email protected]> | 2025-07-08 23:05:50 +0200 |
| commit | 112c7a16654bf376463586bd2a32ea817fb7f11d (patch) | |
| tree | 4e59065c50aaf8383e43afd062d0322841ff0c10 /embassy-time/release.toml | |
| parent | bb1b682deb5931b24ea7bd191aadf5a927140b14 (diff) | |
`embassy-time`: 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
Diffstat (limited to 'embassy-time/release.toml')
| -rw-r--r-- | embassy-time/release.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-time/release.toml b/embassy-time/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-time/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-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 | ] | ||
