From 010c626a1160cf1a6721d8632119c0e45907e8c2 Mon Sep 17 00:00:00 2001 From: Ralph Ursprung Date: Sun, 8 Jun 2025 10:58:39 +0200 Subject: `embassy-inet-driver-channel`: 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 --- embassy-net-driver-channel/CHANGELOG.md | 3 ++- embassy-net-driver-channel/release.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 embassy-net-driver-channel/release.toml (limited to 'embassy-net-driver-channel') diff --git a/embassy-net-driver-channel/CHANGELOG.md b/embassy-net-driver-channel/CHANGELOG.md index ebc0e96b9..a5c81cf4d 100644 --- a/embassy-net-driver-channel/CHANGELOG.md +++ b/embassy-net-driver-channel/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased + +## Unreleased - ReleaseDate - Update `embassy-sync` to v0.7.0 diff --git a/embassy-net-driver-channel/release.toml b/embassy-net-driver-channel/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-net-driver-channel/release.toml @@ -0,0 +1,5 @@ +pre-release-replacements = [ + {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, + {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, + {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, +] -- cgit