Skip to content

Commit

Permalink
upadte
Browse files Browse the repository at this point in the history
  • Loading branch information
esrrhs committed Feb 22, 2023
1 parent 5f81102 commit e816385
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#set -x
NAME="pingtunnel"

export GO111MODULE=off
export GO111MODULE=on

#go tool dist list
build_list=$(go tool dist list)
Expand All @@ -11,15 +11,7 @@ rm pack -rf
rm pack.zip -f
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
go mod tidy

for line in $build_list; do
os=$(echo "$line" | awk -F"/" '{print $1}')
Expand Down

0 comments on commit e816385

Please sign in to comment.