diff --git a/Cargo.toml b/Cargo.toml index af7284e..02aa465 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,9 @@ members = ["crates/rompatch-core", "crates/rompatch", "crates/rompatch-gui"] exclude = ["fuzz"] [workspace.package] -version = "0.3.1" +# Crate versions are declared per-member: release-please's rust strategy +# rewrites `package.version` in each crate and cannot handle +# `version.workspace = true` inheritance. edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/GregTheGreek/rompatch-rs" diff --git a/crates/rompatch-core/Cargo.toml b/crates/rompatch-core/Cargo.toml index 45add12..7c3ede7 100644 --- a/crates/rompatch-core/Cargo.toml +++ b/crates/rompatch-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rompatch-core" -version.workspace = true +version = "0.3.1" edition.workspace = true license.workspace = true repository.workspace = true diff --git a/crates/rompatch-gui/Cargo.toml b/crates/rompatch-gui/Cargo.toml index 8d161e6..7f62155 100644 --- a/crates/rompatch-gui/Cargo.toml +++ b/crates/rompatch-gui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rompatch-gui" -version.workspace = true +version = "0.3.1" edition.workspace = true license.workspace = true repository.workspace = true @@ -14,7 +14,7 @@ crate-type = ["rlib"] tauri-build = { version = "=2.6.1", features = [] } [dependencies] -rompatch-core = { version = "=0.3.1", path = "../rompatch-core", features = ["serde"] } # x-release-please-version +rompatch-core = { version = "=0.3.1", path = "../rompatch-core", features = ["serde"] } serde = { version = "=1.0.228", features = ["derive"] } serde_json = "=1.0.149" sha2 = "=0.10.9" diff --git a/crates/rompatch/Cargo.toml b/crates/rompatch/Cargo.toml index c73af59..356d42d 100644 --- a/crates/rompatch/Cargo.toml +++ b/crates/rompatch/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rompatch" -version.workspace = true +version = "0.3.1" edition.workspace = true license.workspace = true repository.workspace = true @@ -11,7 +11,7 @@ name = "rompatch" path = "src/main.rs" [dependencies] -rompatch-core = { path = "../rompatch-core", version = "0.3.1" } # x-release-please-version +rompatch-core = { path = "../rompatch-core", version = "0.3.1" } lexopt = "0.3" [lints] diff --git a/release-please-config.json b/release-please-config.json index 0734090..7f4ee2c 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -7,14 +7,6 @@ "component": "rompatch", "changelog-path": "CHANGELOG.md", "extra-files": [ - { - "type": "generic", - "path": "crates/rompatch-gui/Cargo.toml" - }, - { - "type": "generic", - "path": "crates/rompatch/Cargo.toml" - }, { "type": "json", "path": "crates/rompatch-gui/ui/package.json",