From f6e8a3c7703a2f40d9165db2cc07fcd9e85acd59 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Mon, 11 Mar 2024 03:27:32 +0200 Subject: [PATCH] ci(release): configure release plz --- .release-plz.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .release-plz.toml diff --git a/.release-plz.toml b/.release-plz.toml new file mode 100644 index 0000000..6f92ab1 --- /dev/null +++ b/.release-plz.toml @@ -0,0 +1,12 @@ +[workspace] +allow_dirty = true # allow updating repositories with uncommitted changes +changelog_config = "cliff.toml" +# dependencies_update = true # update dependencies with `cargo update` +pr_labels = ["release"] # add the `release` label to the release Pull Request +publish_allow_dirty = true # add `--allow-dirty` to `cargo publish` +semver_check = false # disable API breaking changes checks +publish_timeout = "10m" # set a timeout for `cargo publish` +# release_commits = "^feat:" # prepare release only if at least one commit matches a regex + +[changelog] +protect_breaking_commits = true # always include commits with breaking changes in the changelog