From 00472c6b4dfc673d0a4d555ecf9e629858cf82bc Mon Sep 17 00:00:00 2001 From: Zic Date: Sun, 24 Dec 2017 00:12:23 +0800 Subject: [PATCH] Try to tar the dist. --- build/pack/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/pack/build.sh b/build/pack/build.sh index e2dc4ab..d76915c 100755 --- a/build/pack/build.sh +++ b/build/pack/build.sh @@ -69,8 +69,10 @@ echo "remove pack" rm -rf $distPath/pack echo "compress to tar.gz" -echo "tar -zcvf $distFolder/$FINAL_NAME $distPath" -tar -zcvf $distFolder/$FINAL_NAME $distPath +echo "tar -zcvf $distFolder/$FINAL_NAME ./$VERSION_NAME" +cd $distPath +cd .. +tar -zcvf $distFolder/$FINAL_NAME ./$VERSION_NAME cd $PRE_DIR