diff options
| author | Ralph Ursprung <[email protected]> | 2025-06-08 11:10:21 +0200 |
|---|---|---|
| committer | Ralph Ursprung <[email protected]> | 2025-07-08 23:04:30 +0200 |
| commit | 27bae26172757b15597f497b5e3d30d5dc18bd98 (patch) | |
| tree | 18110a09332e8d7b38cc4ed6c0f04ed7d97d53e1 | |
| parent | e38b3c52528da3796208ac9a05e4a75e373cf252 (diff) | |
`embassy-usb`: 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-usb/CHANGELOG.md | 3 | ||||
| -rw-r--r-- | embassy-usb/release.toml | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/embassy-usb/CHANGELOG.md b/embassy-usb/CHANGELOG.md index d941ae068..51db5f03e 100644 --- a/embassy-usb/CHANGELOG.md +++ b/embassy-usb/CHANGELOG.md | |||
| @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and 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 | - `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992)) | 11 | - `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992)) |
| 11 | - `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000)) | 12 | - `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000)) |
diff --git a/embassy-usb/release.toml b/embassy-usb/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-usb/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 | ] | ||
