From f238a357f51eb221dde42ed4b575b8baacc0b79b Mon Sep 17 00:00:00 2001 From: sksat Date: Tue, 1 Aug 2023 14:28:37 +0900 Subject: [PATCH 1/2] make c2a-core repository as cargo workspace --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 278de7698..d6c4a865d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,15 @@ +[workspace.package] +version = "3.10.0" + +[workspace] +resolver = "2" + +members = [ +] + [package] name = "c2a-core" -version = "3.10.0" +version.workspace = true edition = "2021" links = "c2a-core" From aaba31e5c44eb23501589952501a7c7d0fbda756 Mon Sep 17 00:00:00 2001 From: sksat Date: Tue, 1 Aug 2023 17:22:11 +0900 Subject: [PATCH 2/2] update release rule for change crate version position --- docs/general/release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/release.md b/docs/general/release.md index 45aac2ba2..826a5c6b4 100644 --- a/docs/general/release.md +++ b/docs/general/release.md @@ -19,7 +19,7 @@ 1. バージョン番号をインクリメントする PR (Pull Request) を発行し,`develop` ブランチへマージする. - [c2a_core_main.h](https://github.com/arkedge/c2a-core/blob/develop/c2a_core_main.h) 内の `C2A_CORE_VER_*` をインクリメントする. - - [Cargo.toml](https://github.com/arkedge/c2a-core/blob/develop/Cargo.toml) 内の `package.version` をインクリメントする. + - [Cargo.toml](https://github.com/arkedge/c2a-core/blob/develop/Cargo.toml) 内の `workspace.package.version` をインクリメントする. - この後リリースを控えるので,念の為すべてのテストを再度回す. - `#define C2A_CORE_VER_PRE` は `("")` とする. - PR 名は `Update version (v3.4.0)` のようにする.