Closed lucasjinreal closed 3 years ago
I can run this:
GO111MODULE=on GOPROXY=https://mirrors.aliyun.com/goproxy/ go get golang.org/x/text@v0.3.2
But I can not run this:
GO111MODULE=on GOPROXY=https://mirrors.aliyun.com/goproxy/ hover bumpversion 1 master!1 master!
hover: Using engine from cache
hover: Using engine from cache
go: finding github.com/go-gl/gl latest
go: finding github.com/go-gl/glfw/v3.3/glfw latest
go get: upgrading golang.org/x/text@v0.3.0: unrecognized import path "golang.org/x/text" (https fetch: Get https://golang.org/x/text?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
go get: upgrading golang.org/x/text@v0.3.3: unrecognized import path "golang.org/x/text" (https fetch: Get https://golang.org/x/text?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
go get: upgrading golang.org/x/text@v0.3.2: unrecognized import path "golang.org/x/text" (https fetch: Get https://golang.org/x/text?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
verifying github.com/Xuanwo/go-locale@v1.0.0/go.mod: github.com/Xuanwo/go-locale@v1.0.0/go.mod: Get https://sum.golang.org/lookup/github.com/!xuanwo/go-locale@v1.0.0: dial tcp 142.250.199.81:443: i/o timeout
Enviroment variable also not work. I don't think it's proxy issue, but hover bumpversion
doesn't consider usage inside China.
So, anyone could help?
hover bumpversion
is missin the environment variable if I see it right.
https://github.com/go-flutter-desktop/hover/blob/1e7668b522986374c33efe2ec2dd23f2618e6196/cmd/bumpversion.go#L56
I was wrong it should be passed through
@jld3103 Envrioment variable also not work.
I see it gets overwritten
Are you able to build hover yourself? If yes remove https://github.com/go-flutter-desktop/hover/blob/1e7668b522986374c33efe2ec2dd23f2618e6196/cmd/bumpversion.go#L57 then it should work. You can then create a PR
@jld3103 So, would it consider usage inside China? As somewhat reason you know.....
@jld3103 Let me have a try.
So it works?
You shouldn't delete the whole statement. Just that single line
@jld3103 sorry
Fixed. Please wait of a new release of hover. Or compile hover from the source.
when run
hover bumpversion
Pls help poor man in China, I set proxy doesn't work.