From 2139921c0316eefddebb589591576489a2d957e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Cortier?= <3809077+CBenoit@users.noreply.github.com> Date: Sun, 15 Dec 2024 08:17:23 -0500 Subject: [PATCH] chore: update release-plz.toml configuration file (#617) - Only create release PR for features, bug fixes, documentation updates, build and dependencies changes, and performance improvements. - Only create GitHub releases for ironrdp and ironrdp-client crates. - Enable the rustls feature flag when publishing ironrdp-tls, otherwise the compilation will errors out. --- cliff.toml | 3 +-- release-plz.toml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index f38b5dd65..2cdd5a5d0 100644 --- a/cliff.toml +++ b/cliff.toml @@ -59,6 +59,7 @@ conventional_commits = true filter_unconventional = false filter_commits = false date_order = false +protect_breaking_commits = true sort_commits = "oldest" commit_preprocessors = [ @@ -77,8 +78,6 @@ commit_parsers = [ { message = "^test", skip = true }, { message = "^ci", skip = true }, { message = "^chore\\(release\\): prepare for", skip = true }, - { message = "^chore\\(deps\\)", skip = true }, - { message = "^build\\(deps\\)", skip = true }, { footer = "^[Cc]hangelog: ?ignore", skip = true }, { message = "(?i)security", group = "Security" }, diff --git a/release-plz.toml b/release-plz.toml index bc56c17b0..d41a48cc6 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -5,3 +5,17 @@ semver_check = true pr_branch_prefix = "release-plz/" pr_name = "chore(release): prepare for publishing" changelog_config = "cliff.toml" +git_release_enable = false +release_commits = "^(feat|docs|fix|build|perf)" + +[[package]] +name = "ironrdp" +git_release_enable = true + +[[package]] +name = "ironrdp-client" +git_release_enable = true + +[[package]] +name = "ironrdp-tls" +publish_features = ["rustls"]