This commit is contained in:
zhangkun9038@dingtalk.com 2023-03-02 01:05:01 +08:00
parent 440a64188f
commit 9f9eaaaf19

View File

@ -60,10 +60,11 @@ function init(){
cd $workPath
if [ ! -f "$fileName" ];then
echo "file $fileName not exist!"
mkdir dist
echo "helo" > helo.txt
mv helo.txt dist
zip -r $fileName dist
# mkdir dist
# echo "helo" > helo.txt
# mv helo.txt dist
# zip -r $fileName dist
exit 0
fi
if [ ! -d "$projectPath" ]; then
echo "path $projectPath exist! "