From 41f2e3a98816516529458bc247a8bd1874f02745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=AD=90=E6=9D=8E=C2=B7De?= Date: Mon, 19 Jul 2021 00:09:06 +0800 Subject: [PATCH] Update build.sh --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index d528bb77..f68b994f 100644 --- a/build.sh +++ b/build.sh @@ -19,5 +19,7 @@ mvn package -Dmaven.test.skip=true >/dev/null 2>&1 echo "zip finish in build dir" mkdir $BuildDir/build mv $BuildDir/report-core/target/report-core-1.0.0-SNAPSHOT-assembly.zip $BuildDir/build/ + cd $BuildDir/ +rm -rf $BuildDir/report-core/src/main/resources/static git reset --hard >/dev/null 2>&1 \ No newline at end of file