diff --git a/Cargo.toml b/Cargo.toml index 70405a7..e9f3ca3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" edition = "2021" rust-version = "1.78" license = "Apache-2.0" -version = "0.1.0" +version = "0.1.0" # x-release-please-version [workspace.dependencies] clap = { version = "4.5", features = ["derive"] } diff --git a/release-please-config.json b/release-please-config.json index 5f55a04..3a20553 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", - "release-type": "rust", + "release-type": "simple", "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, "packages": { @@ -8,13 +8,18 @@ "package-name": "agent-desktop", "changelog-path": "CHANGELOG.md", "extra-files": [ - "npm/package.json" + { + "type": "generic", + "path": "Cargo.toml" + }, + { + "type": "json", + "path": "npm/package.json", + "jsonpath": "$.version" + } ] } }, - "plugins": [ - "cargo-workspace" - ], "changelog-sections": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" },