diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e3b7d4e..927e1ec8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,11 +126,14 @@ check-umbrella: print(next(p['version'] for p in pkgs if p['manifest_path'].endswith('umbrella/Cargo.toml')))") echo "Umbrella 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 - | if [ -n "$(git status --porcelain)" ]; then - echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version && zepter run propagate-features" + echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version && zepter run default" git diff exit 1 fi