Skip to content

Commit

Permalink
update goreleaser to ignore certain builds
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Aug 6, 2020
1 parent 74ff897 commit 9071f8a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@ builds:
flags:
- -tags=kqueue
- -trimpath

ignore:
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: darwin
goarch: ppc64le
- goos: darwin
goarch: s390x
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: windows
goarch: ppc64le
- goos: windows
goarch: s390x
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: freebsd
goarch: ppc64le
- goos: freebsd
goarch: s390x

ldflags:
- -s -w -X github.com/minio/sidekick/pkg.ReleaseTag={{.Tag}} -X github.com/minio/sidekick/pkg.CommitID={{.FullCommit}} -X github.com/minio/sidekick/pkg.Version={{.Version}} -X github.com/minio/sidekick/pkg.ShortCommitID={{.ShortCommit}} -X github.com/minio/sidekick/pkg.ReleaseTime={{.Date}}
archives:
Expand Down

0 comments on commit 9071f8a

Please sign in to comment.