Skip to content

Commit 327854d

Browse files
committed
Fix release-plz on the main branch
This can still use the workspace root, but we generally aren't interested in publishing `libc` from this branch (only `ctest`).
1 parent b52e881 commit 327854d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/release.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
run: rustup update stable --no-self-update && rustup default stable
2525
- name: Run release-plz
2626
uses: MarcoIeni/[email protected]
27-
with:
28-
# On the main branch, only release ctest
29-
manifest_path: ctest/Cargo.toml
3027
env:
3128
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3229
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ build = "build.rs"
1414
exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"]
1515
rust-version = "1.63"
1616
description = "Raw FFI bindings to platform libraries like libc."
17+
publish = false # On the main branch, we don't want to publish anything
1718

1819
[package.metadata.docs.rs]
1920
features = ["extra_traits"]

0 commit comments

Comments
 (0)