From 0e4ccc8d6629df9d10e5af0e5d61369c51e4131b Mon Sep 17 00:00:00 2001 From: pxLi Date: Fri, 26 Feb 2021 03:32:50 +0800 Subject: [PATCH] check if modified files after update_config/supported (#1809) * check if modified files after update_config/supported Signed-off-by: Peixin Li * remove dummy config modified * fix success case --- dist/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/dist/pom.xml b/dist/pom.xml index 6885aaa8572..700d1b5ebea 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -179,6 +179,23 @@ + + org.codehaus.mojo + exec-maven-plugin + + + if_modified_files + verify + + exec + + + bash + -c 'export MODIFIED=$(git status --porcelain | grep "^ M"); [[ -z $MODIFIED ]] && exit 0 || { echo -e "found modified files during mvn verify:\n$MODIFIED"; exit 1;}' + + + + org.apache.rat apache-rat-plugin