Skip to content

Commit

Permalink
chore: remove some builds due to conflict with 3rd parties
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartJingga committed Nov 8, 2021
1 parent 9381727 commit 2318664
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,39 @@ before:

builds:
- main: ./main.go
id: "meteor"
id: "linux"
binary: meteor
flags: [-a]
ldflags:
- -X github.com/odpf/meteor/cmd.Version={{.Tag}}
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}}
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}}
goos: [darwin, linux, windows]
goarch: [amd64, arm, arm64] # skip goarch 386 due to conflicts with "github.com/blastrain/vitess-sqlparser" library
goos: [linux]
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
env:
- CGO_ENABLED=0
- main: ./main.go
id: "darwin"
binary: meteor
flags: [-a]
ldflags:
- -X github.com/odpf/meteor/cmd.Version={{.Tag}}
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}}
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}}
goos: [darwin]
goarch: [amd64, 386, arm, arm64]
env:
- CGO_ENABLED=0
- main: ./main.go
id: "windows"
binary: meteor
flags: [-a]
ldflags:
- -X github.com/odpf/meteor/cmd.Version={{.Tag}}
- -X github.com/odpf/meteor/cmd.BuildCommit={{.FullCommit}}
- -X github.com/odpf/meteor/cmd.BuildDate={{.Date}}
goos: [windows]
goarch: [amd64, arm64] # skip goarch 386 and arm due to conflicts with "github.com/blastrain/vitess-sqlparser" library
env:
- CGO_ENABLED=0

Expand Down

0 comments on commit 2318664

Please sign in to comment.