This commit is contained in:
zhangkun9038@dingtalk.com 2023-03-01 23:07:53 +08:00
parent 734615abd4
commit 440a64188f

View File

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