From cabce98c7894bd3e5ee61490367d3ba57c381caa Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sun, 4 Jan 2026 02:46:31 -0500 Subject: [PATCH 1/2] meta: Allow publishing from the main branch When the alpha version gets bumped, we want release-plz to publish it. --- .release-plz.toml | 3 ++- Cargo.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.release-plz.toml b/.release-plz.toml index 8c42428472df0..285b3a4e60208 100644 --- a/.release-plz.toml +++ b/.release-plz.toml @@ -3,13 +3,14 @@ name = "libc" changelog_path = "CHANGELOG.md" git_release_name = "{{ version }}" git_tag_name = "{{ version }}" -publish = false # On the main branch, we don't want to publish anything +publish = true [[package]] name = "ctest" changelog_path = "ctest/CHANGELOG.md" git_release_name = "ctest-{{ version }}" git_tag_name = "ctest-v{{ version }}" +publish = true [changelog] body = """ diff --git a/Cargo.toml b/Cargo.toml index 74cb58492af4b..2203985460eea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ keywords = ["libc", "ffi", "bindings", "operating", "system"] categories = ["external-ffi-bindings", "no-std", "os"] exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"] description = "Raw FFI bindings to platform libraries like libc." -publish = false # On the main branch, we don't want to publish anything authors = ["The Rust Project Developers"] edition = "2021" license = "MIT OR Apache-2.0" From 4f6cde3e5f722fe12e225764b7d185f51171d909 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 6 Jan 2026 01:56:48 -0600 Subject: [PATCH 2/2] meta: Don't set `release-type` when running on host For the alpha channel, semver-checks knows that breakage is allowed. Passing `--release-type=patch` causes it to fail the job. Remove this flag since it is only needed on targets where we build from scratch. --- ci/verify-build.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/verify-build.py b/ci/verify-build.py index 0e0ea0c25b2ca..bdb0326373cf8 100755 --- a/ci/verify-build.py +++ b/ci/verify-build.py @@ -281,7 +281,6 @@ def do_semver_checks(cfg: Cfg, target: Target) -> bool: "semver-checks", "--only-explicit-features", "--features=std,extra_traits", - "--release-type=patch", ], check=True, )