fix(ci): use zepter run default to propagate umbrella features

'propagate-features' is not a valid zepter workflow. The correct workflow
is 'default' which runs propagate-feature --fix for workspace + umbrella.
Since check-zepter validates workspace cleanliness first, the workspace
step is a no-op — only umbrella feature lists get populated by Zepter.
This commit is contained in:
Kurdistan Tech Ministry committed 2026-04-25 00:18:27 +03:00
1 parent 2bbe41e97d
commit 3ac8a1bc80
1 file changed
+5 -2
+5 -2
View File
@@ -126,11 +126,14 @@ check-umbrella:
print(next(p['version'] for p in pkgs if p['manifest_path'].endswith('umbrella/Cargo.toml')))") print(next(p['version'] for p in pkgs if p['manifest_path'].endswith('umbrella/Cargo.toml')))")
echo "Umbrella version: $UMBRELLA_VERSION" echo "Umbrella version: $UMBRELLA_VERSION"
python3 scripts/generate-umbrella.py --sdk . --version "$UMBRELLA_VERSION" python3 scripts/generate-umbrella.py --sdk . --version "$UMBRELLA_VERSION"
zepter run propagate-features # 'default' workflow runs propagate-feature --fix for workspace + umbrella.
# check-zepter already validates workspace is clean, so this is a no-op
# for workspace crates — only umbrella feature lists get populated.
zepter run default
cargo +nightly fmt -p pezkuwi-sdk cargo +nightly fmt -p pezkuwi-sdk
- | - |
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version <VERSION> && zepter run propagate-features" echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version <VERSION> && zepter run default"
git diff git diff
exit 1 exit 1
fi fi