Skip to content

Commit

Permalink
chore(tools): update release-plz.toml (#618)
Browse files Browse the repository at this point in the history
Pass `--no-verify` to `cargo publish` when publishing `*-native` crates.

`*-native` crates may have all kinds of system requirements depending
on the platform. We can only check for the current platform when cargo
publish is invoked, all the others are effectively unverified. For this
reason, it's not worth complexifying the release-crates.yml workflow. We
already verify all targets properly in the CI.
  • Loading branch information
CBenoit authored Dec 16, 2024
1 parent 912c27c commit c01017f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,30 @@ pr_name = "chore(release): prepare for publishing"
changelog_config = "cliff.toml"
release_commits = "^(feat|docs|fix|build|perf)"

# Flagship crates for which we push a GitHub release.
[[package]]
name = "ironrdp"
git_release_enable = true

[[package]]
name = "ironrdp-client"
git_release_enable = true

# ironrdp-tls does not compile if no backend is specified.
# rustls is the most common backend, so we let cargo publish check with it.
[[package]]
name = "ironrdp-tls"
publish_features = ["rustls"]

# *-native crates may have all kinds of system requirements depending on the platform.
# We can only check for the current platform when cargo publish is invoked, all the others are effectively unverified.
# For this reason, it's not worth complexifying the release-crates.yml workflow.
# We already verify all targets properly in the CI.
[[package]]
name = "ironrdp-rdpdr-native"
publish_no_verify = true
[[package]]
name = "ironrdp-rdpsnd-native"
publish_no_verify = true
[[package]]
name = "ironrdp-cliprdr-native"
publish_no_verify = true

0 comments on commit c01017f

Please sign in to comment.