fix(goreleaser): update goreleaser GOPROXY

This commit is contained in:
LinkinStars 2023-08-03 16:00:38 +08:00
parent 3c08f31e07
commit af291a91f8
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
env: env:
- GO11MODULE=on - GO11MODULE=on
- GO111MODULE=on - GO111MODULE=on
- GOPROXY=https://goproxy.io - GOPROXY=https://goproxy.io,direct
- CGO_ENABLED=0 - CGO_ENABLED=0
before: before:
@ -15,7 +15,7 @@ builds:
- id: build - id: build
main: ./cmd/answer/. main: ./cmd/answer/.
binary: answer binary: answer
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser ldflags: -s -w -X github.com/answerdev/answer/cmd.Version={{.Version}} -X github.com/answerdev/answer/cmd.Revision={{.ShortCommit}} -X github.com/answerdev/answer/cmd.Time={{.Date}} -X github.com/answerdev/answer/cmd.BuildUser=goreleaser
flags: -v flags: -v
goos: goos:
- linux - linux
@ -26,7 +26,7 @@ builds:
- id: build-windows - id: build-windows
main: ./cmd/answer/. main: ./cmd/answer/.
binary: answer binary: answer
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser ldflags: -s -w -X github.com/answerdev/answer/cmd.Version={{.Version}} -X github.com/answerdev/answer/cmd.Revision={{.ShortCommit}} -X github.com/answerdev/answer/cmd.Time={{.Date}} -X github.com/answerdev/answer/cmd.BuildUser=goreleaser
flags: -v flags: -v
goos: goos:
- windows - windows