Skip to content

Commit

Permalink
Update goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannic committed Feb 14, 2022
1 parent 1000735 commit 8a68dc4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,27 @@ builds:
# usage by users in CI/CD systems like Terraform Cloud where
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- darwin
- freebsd
- windows
- linux
- darwin
- windows
goarch:
- amd64
- '386'
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
- goos: freebsd
goarch: arm64
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
Expand Down

0 comments on commit 8a68dc4

Please sign in to comment.