From 67733d3bb2ecf20ab9580413417d406ef37ae7ba Mon Sep 17 00:00:00 2001 From: Chris Hoage Date: Sat, 12 Sep 2026 20:40:28 -0700 Subject: [PATCH] fix(release): move publish = false out of Cargo.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-plz reported "nothing to release" after the release PR landed, so v0.1.0 was never tagged and no release was created. `publish = false` in Cargo.toml makes release-plz drop the package from the release set outright; neither `git_only` nor `git_release_enable` overrides it. The same flag in release-plz.toml means what was wanted: skip `cargo publish`, still tag and still create the GitHub release. Confirmed on the merge commit itself — with the flag in Cargo.toml the dry run says "nothing to release"; with it moved, the same commit reports "creation of tag 'v0.1.0'" and "creation of git release", and no registry upload step at all. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01UioWbXWdwtt6NLSqDpHcmT --- Cargo.toml | 1 - release-plz.toml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f315216..ab17bab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,6 @@ name = "nanokvm-usb" version = "0.1.0" edition = "2021" rust-version = "1.89" -publish = false description = "Native Linux client for the Sipeed NanoKVM-USB (CH9329 serial + UVC MJPEG)" license = "MIT OR Apache-2.0" repository = "https://github.com/chrishoage/NanoKVM-USB-rs" diff --git a/release-plz.toml b/release-plz.toml index b2b63ce..1cc4080 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -1,6 +1,10 @@ [workspace] # The crate was never published, so versions come from git tags, not the registry. git_only = true +# Skips `cargo publish` while still tagging and creating the GitHub release. +# This has to live here rather than in Cargo.toml: `publish = false` there makes +# release-plz drop the package entirely and report "nothing to release". +publish = false git_release_enable = true changelog_update = true