This commit is contained in:
zhangkun9038@dingtalk.com 2023-03-02 01:41:04 +08:00
parent 5e4e7b3053
commit d709616088

View File

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