Skip to content

Commit

Permalink
Don't release anything by default (#2623)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pvdrz committed Sep 6, 2023
1 parent 073fa62 commit f623bfb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ targets = [
[workspace.metadata.release]
shared-version = true # ensures published packages share the same version
tag-name = "v{{version}}"
release = false

# The profile that 'cargo dist' will build with
[profile.dist]
Expand Down
3 changes: 3 additions & 0 deletions bindgen-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ which-rustfmt = ["bindgen/which-rustfmt"]
__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"]
__testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"]
__testing_only_libclang_5 = ["bindgen/__testing_only_libclang_5"]

[package.metadata.release]
release = true
3 changes: 3 additions & 0 deletions bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ __testing_only_libclang_5 = []

[package.metadata.docs.rs]
features = ["experimental"]

[package.metadata.release]
release = true

0 comments on commit f623bfb

Please sign in to comment.