This commit is contained in:
benderzhao 2021-09-28 16:33:39 +08:00
parent 3d75970db9
commit 31ebcc8bf8

10
pack.sh
View File

@ -11,6 +11,16 @@ rm pack -rf
rm pack.zip -f rm pack.zip -f
mkdir pack mkdir pack
go get -u -v github.com/esrrhs/pingtunnel/...
last=`pwd`
cd $GOPATH/src/golang.org/x
for dir in `ls`; do
cd $dir
git pull
cd ..
done
cd $last
for line in $build_list; do for line in $build_list; do
os=$(echo "$line" | awk -F"/" '{print $1}') os=$(echo "$line" | awk -F"/" '{print $1}')
arch=$(echo "$line" | awk -F"/" '{print $2}') arch=$(echo "$line" | awk -F"/" '{print $2}')