upadte
This commit is contained in:
parent
5f81102814
commit
e816385534
12
pack.sh
12
pack.sh
@ -2,7 +2,7 @@
|
|||||||
#set -x
|
#set -x
|
||||||
NAME="pingtunnel"
|
NAME="pingtunnel"
|
||||||
|
|
||||||
export GO111MODULE=off
|
export GO111MODULE=on
|
||||||
|
|
||||||
#go tool dist list
|
#go tool dist list
|
||||||
build_list=$(go tool dist list)
|
build_list=$(go tool dist list)
|
||||||
@ -11,15 +11,7 @@ rm pack -rf
|
|||||||
rm pack.zip -f
|
rm pack.zip -f
|
||||||
mkdir pack
|
mkdir pack
|
||||||
|
|
||||||
go get -u -v github.com/esrrhs/pingtunnel/...
|
go mod tidy
|
||||||
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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user