Commit 546eaa80 authored by fanux's avatar fanux
Browse files

fix clean /etc/hosts bug

parent b864c22b
Showing with 1 addition and 1 deletion
+1 -1
......@@ -2,4 +2,4 @@
COMMIT_SHA1=$(git rev-parse --short HEAD || echo "0.0.0")
docker run -v $GOPATH/src/github.com/fanux/sealos:/go/src/github.com/fanux/sealos -w /go/src/github.com/fanux/sealos --rm golang:1.13.5 \
go build -o sealos -mod vendor -ldflags "-X github.com/fanux/sealos/version.Version=$1 -X github.com/fanux/sealos/version.Build=${COMMIT_SHA1}" main.go
../ossutil64 -c ../oss-config cp sealos oss://sealyun/$1/sealos
../ossutil64 -c ../oss-config cp -f sealos oss://sealyun/$1/sealos
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment