mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
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:
1 parent
2bbe41e97d
commit
3ac8a1bc80
1 file changed
+5
-2
+5
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user