From 4f2c951e28a85f600b1ec2db69665d721ce25cc0 Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Mon, 4 Dec 2023 17:14:29 +0900 Subject: [PATCH] chore: add cargo-release configuration Should make releasing new versions easier, once a point of a somewhat stable first version is reached. --- crates/stef/release.toml | 10 ++++++++++ release.toml | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 crates/stef/release.toml create mode 100644 release.toml diff --git a/crates/stef/release.toml b/crates/stef/release.toml new file mode 100644 index 0000000..8b3313f --- /dev/null +++ b/crates/stef/release.toml @@ -0,0 +1,10 @@ +pre-release-hook = [ + "git", + "cliff", + "--workdir", + "../../", + "--output", + "../../CHANGELOG.md", + "--tag", + "{{version}}", +] diff --git a/release.toml b/release.toml new file mode 100644 index 0000000..c4678ed --- /dev/null +++ b/release.toml @@ -0,0 +1,7 @@ +consolidate-commits = true +sign-commit = true +sign-tag = true +shared-version = true + +pre-release-commit-message = "chore(release): release {{crate_name}} {{version}}" +tag-message = "chore(release): release {{crate_name}} {{version}}"