From c3da7a7ba3e101cd9cce1d36e232ae29ba10164b Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Mon, 16 Mar 2026 23:20:15 +0800 Subject: [PATCH] contrib: Add more details about release process Signed-off-by: Daniel Schaefer --- contrib/release.md | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/contrib/release.md b/contrib/release.md index 32c9e55..239f9a3 100644 --- a/contrib/release.md +++ b/contrib/release.md @@ -1,10 +1,13 @@ # New Release -1. Tag -2. Download binaries from github action run on tag -3. Sign windows exe with EV cert -4. Create release with release notes and upload binaries -5. Notify distribution maintainers (See README) +1. Make sure to update all versions in Cargo.toml and Cargo.lock files +2. Tag +3. Download binaries from github action run on tag +4. Sign windows exe with EV cert +5. Create release on GitHub with release notes and upload binaries +6. Notify distribution maintainers (See README) +7. Do winget release (See below) +8. Do crates.io release (See below) ## winget @@ -27,3 +30,23 @@ winget install --manifest .\manifests\f\FrameworkComputer\framework_tool\0.5.0 git add manifests/f/FrameworkComputer/framework_tool/0.5.0 git commit -sm "New version: FrameworkComputer.framework_tool version 0.5.0" ``` + +## crates.io + +See: https://doc.rust-lang.org/cargo/reference/publishing.html + +Dry run and review included files + +``` +cargo publish -p framework_lib --dry-run +cargo publish -p framework_tool --dry-run +cargo package list -p framework_lib +cargo package list -p framework_tool +``` + +Publish + +``` +cargo publish -p framework_lib +cargo publish -p framework_tool +```