|
|
#!/bin/bash
|
|
|
wordir=$2/yoho-ops/app-log-query
|
|
|
cd $wordir
|
|
|
rm -rf yoho-blk-wap.tar.gz
|
|
|
yarn
|
|
|
if [[ $1 == "TEST1" ]] || [[ $1 == "TEST2" ]] || [[ $1 == "TEST3" ]]
|
|
|
then
|
|
|
yarn build
|
|
|
fi
|
|
|
cd ..
|
|
|
tar -czvf yoho-blk-wap.tar.gz ./
|
|
|
mv yoho-blk-wap.tar.gz yoho-blk-wap/ |
|
|
tar -czvf yoho-blk-wap.tar.gz * |
...
|
...
|
|