Fix bread-theme/bread-utils dependency: path -> git (broke bakery CI)
Some checks failed
dev release / build (push) Failing after 31s
beta release / build (push) Failing after 42s

The path dependency on ../../bread-ecosystem/bread-theme (and bread-utils)
assumed a sibling checkout that doesn't exist on the CI runner — this was
the actual cause of release.yml never having succeeded, on top of the
Tauri build-path issue fixed separately. Switched to a git dependency
pinned to branch = "main" rather than a tag, since the functions this
migration needs (css_custom_properties/css_tokens) aren't in a tagged
bread-theme release yet. Verified with a full local build.
This commit is contained in:
Breadway 2026-07-23 10:52:02 +08:00
parent b1429784a7
commit 78fb01fa77
2 changed files with 7 additions and 4 deletions

View file

@ -38,8 +38,9 @@ notify = "7"
regex = "1"
# TODO(owner): switch to a tag-pinned git dependency once bread-theme cuts a
# release including css_custom_properties/css_tokens (added 2026-07-21 for
# this migration, unreleased) — matches the same pending-tag pattern
# bos-settings' old GTK Cargo.toml used for bread-utils.
bread-theme = { path = "../../bread-ecosystem/bread-theme" }
bread-utils = { path = "../../bread-ecosystem/bread-utils", features = ["toml"] }
# this migration) — pinned to branch = "main" for now rather than a path
# dependency (which broke bakery/CI builds — no sibling bread-ecosystem
# checkout exists on the runner) since no tag has these functions yet.
bread-theme = { git = "https://github.com/Breadway/bread-ecosystem", branch = "main" }
bread-utils = { git = "https://github.com/Breadway/bread-ecosystem", branch = "main", features = ["toml"] }