Commit 732164f
authored
fix: Update .goreleaser.yml (#2394)
Getting error when performing the release:
`clang: error: argument unused during compilation: '-arch x86_64'
[-Werror,-Wunused-command-line-argument]
`
It seems like CGO [isn't supported with
goreleaser](https://goreleaser.com/cookbooks/cgo-and-crosscompiling/)
and instead it recommends using
[goreleaser-cross](https://github.com/goreleaser/goreleaser-cross)
instead. example goreleaser file is shown here:
https://github.com/goreleaser/goreleaser-cross-example/blob/master/.goreleaser.yaml.
This may be tricky to do, as we would be having to different goreleasers
running, one for cross compliatied binaries and the other for native
binaries. In the meantime, rolling back change.1 parent 5194478 commit 732164f
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 3 | + | |
9 | 4 | | |
10 | 5 | | |
11 | 6 | | |
| |||
0 commit comments