kde/kf6-extra-cmake-modules: rebase to 6.28.0 (ECM) + teach version parser set(VERSION)
kf6-kcoreaddons 6.28.0 requires ECM >= 6.28.0 but the vendored ECM source/ was still 6.10.0: the sync engine skipped it because ECM's version marker is a bare set(VERSION "X.Y.Z") that the parser didn't recognize (only KF_VERSION / PROJECT_VERSION / RELEASE_SERVICE_VERSION). Re-lay ECM from its 6.28.0 source.tar (pure cmake modules, no Redox port) and teach both the sync engine and the validator to read set(VERSION) so this class is caught, not silently skipped.
This commit is contained in:
+22
@@ -1,3 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
${PRE_COMMIT_SCRIPTS}
|
||||
|
||||
RESULT=$?
|
||||
if [ $RESULT != 0 ]; then
|
||||
exit $RESULT
|
||||
fi
|
||||
|
||||
# If the user has custom commit hooks defined in pre-commit.d directory,
|
||||
# execute them
|
||||
PRE_COMMIT_D_DIR="$(dirname "$0")/pre-commit.d/"
|
||||
|
||||
if [ -d "$PRE_COMMIT_D_DIR" ]; then
|
||||
for PRE_COMMIT_D_HOOK in "$PRE_COMMIT_D_DIR"/*; do
|
||||
./"$PRE_COMMIT_D_HOOK"
|
||||
RESULT=$?
|
||||
if [ $RESULT != 0 ]; then
|
||||
echo "$PRE_COMMIT_D_HOOK returned non-zero: $RESULT, commit aborted"
|
||||
exit $RESULT
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user