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

2
src/Cargo.lock generated
View file

@ -307,6 +307,7 @@ dependencies = [
[[package]] [[package]]
name = "bread-theme" name = "bread-theme"
version = "0.3.1" version = "0.3.1"
source = "git+https://github.com/Breadway/bread-ecosystem?branch=main#afa3686e9acf348bc86d62b64a7b9be16739ac40"
dependencies = [ dependencies = [
"dirs 5.0.1", "dirs 5.0.1",
"serde", "serde",
@ -316,6 +317,7 @@ dependencies = [
[[package]] [[package]]
name = "bread-utils" name = "bread-utils"
version = "0.3.1" version = "0.3.1"
source = "git+https://github.com/Breadway/bread-ecosystem?branch=main#afa3686e9acf348bc86d62b64a7b9be16739ac40"
dependencies = [ dependencies = [
"dirs 5.0.1", "dirs 5.0.1",
"serde", "serde",

View file

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