Skip to content

Commit f623bfb

Browse files
authored
Don't release anything by default (#2623)
This PR marks the whole workspace with `release = false` so `cargo release` doesn't release any packages and then marks `bindgen` and `bindgen-cli` with `release = true` so they are the only packages being released.
1 parent 073fa62 commit f623bfb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ targets = [
3434
[workspace.metadata.release]
3535
shared-version = true # ensures published packages share the same version
3636
tag-name = "v{{version}}"
37+
release = false
3738

3839
# The profile that 'cargo dist' will build with
3940
[profile.dist]

bindgen-cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ which-rustfmt = ["bindgen/which-rustfmt"]
4141
__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"]
4242
__testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"]
4343
__testing_only_libclang_5 = ["bindgen/__testing_only_libclang_5"]
44+
45+
[package.metadata.release]
46+
release = true

bindgen/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ __testing_only_libclang_5 = []
6262

6363
[package.metadata.docs.rs]
6464
features = ["experimental"]
65+
66+
[package.metadata.release]
67+
release = true

0 commit comments

Comments
 (0)