Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 15cc46e

Browse files
committedJun 8, 2025··
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
1 parent 9eaf6a1 commit 15cc46e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎embassy-usb/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
55
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

8-
## Unreleased
8+
<!-- next-header -->
9+
## Unreleased - ReleaseDate
910

1011
- `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992))
1112
- `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000))

‎embassy-usb/release.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
]

0 commit comments

Comments
 (0)
Please sign in to comment.