Skip to content

Commit

Permalink
fix: barry 2025-01-03 15:31:58
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed Jan 3, 2025
1 parent 9d31929 commit 9de2bbb
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,16 @@ builds:
env:
- CGO_ENABLED=0
- GOPROXY=https://goproxy.io
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: "386"
targets:
- "darwin_amd64"
- "windows_amd64"
- "linux_amd64"
- "linux_amd64"
ldflags:
- -X 'github.com/pubgo/funk/version.version={{ .Version }}'
- -X 'github.com/pubgo/funk/version.project=fastcommit'
- -X 'github.com/pubgo/funk/version.buildTime='{{ .CommitDate }}''
- -X 'github.com/pubgo/funk/version.commitID='{{ .ShortCommit }}''
- -X 'github.com/pubgo/funk/version.buildTime={{ .CommitDate }}'
- -X 'github.com/pubgo/funk/version.commitID={{ .ShortCommit }}'
flags:
- -trimpath
- -tags=releaser
Expand Down

0 comments on commit 9de2bbb

Please sign in to comment.