mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-07-27 01:22:16 +00:00
fix: use simple release strategy for workspace version bumps
cargo-workspace plugin cannot parse version.workspace = true in member crates. Switch to simple strategy with generic file updater using x-release-please-version annotation in root Cargo.toml.
This commit is contained in:
parent
18fc50cca5
commit
0ab78dde0e
2 changed files with 11 additions and 6 deletions
|
|
@ -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"] }
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue