[Improvement-14080][script] cleanup dist directory at the beginning of check-LICENSE.sh (#14081)

This commit is contained in:
Rick Cheng 2023-05-23 10:52:50 +08:00 committed by GitHub
parent 708086c8fe
commit 0ab2447d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@
# limitations under the License.
#
if [ -d "dist" ];then
rm -rf dist
fi
mkdir dist || true
tar -zxf dolphinscheduler-dist/target/apache-dolphinscheduler*-bin.tar.gz --strip=1 -C dist