-
Unified Release PRs: Changed from
separate-pull-requests: truetofalse- Now creates a single PR (#344) instead of multiple conflicting PRs
-
Linked Versions Plugin: Added to keep ftl-sdk and ftl-sdk-macros versions in sync
- Both packages now bump to the same version (0.14.0)
-
Removed Invalid Configurations:
- Removed cargo-workspace plugin (requires Cargo.toml at repo root)
- Fixed extra-files type from invalid "cargo-toml" to "toml"
-
Fixed Cargo Structure:
- Removed path dependencies (not allowed for crates.io publishing)
- Reverted workspace version inheritance (release-please needs explicit versions)
Dependency Version Not Updating: The ftl-sdk package depends on ftl-sdk-macros, but when release-please bumps both to 0.14.0, the dependency reference in ftl-sdk's Cargo.toml still points to 0.13.0.
- ✅ Added linked-versions plugin - keeps package versions in sync
- ✅ Added extra-files configuration with jsonpath - should update the dependency
⚠️ Extra-files not working as expected for inline TOML tables
- PR Created: #344 - "chore: release main"
- Packages Being Released:
- Root: 0.13.0
- sdk-rust: 0.14.0
- sdk-rust-macros: 0.14.0
- Status: PR created but dependency version mismatch needs manual fix
Until the extra-files configuration works correctly, you can:
- After release-please creates the PR
- Manually update the dependency version in the PR:
gh pr checkout 344 # Edit sdk/rust/Cargo.toml to update ftl-sdk-macros version git add sdk/rust/Cargo.toml git commit -m "fix: update ftl-sdk-macros dependency version" git push
Create a custom plugin that specifically handles Rust workspace dependencies.
Add a pre-commit hook to the release PR that automatically fixes dependency versions.
The jsonpath $.dependencies['ftl-sdk-macros'].version might need different syntax for inline TOML tables.
Instead of TOML type, try using "generic" type with a glob pattern:
{
"type": "generic",
"path": "sdk/rust/Cargo.toml",
"glob": "ftl-sdk-macros = { version = \"*\""
}A fully automated release process requires:
- ✅ Single unified PR for all packages
- ✅ Synchronized versions for ftl-sdk and ftl-sdk-macros
⚠️ Automatic dependency version updates⚠️ All CI checks passing⚠️ Ready to merge without manual intervention