Skip to content

Commit

Permalink
Merge pull request #282 from twitchdev/goreleaser-build-fix
Browse files Browse the repository at this point in the history
Changed goreleaser to use correct GCC version for Linux arm64
  • Loading branch information
Xemdo authored Oct 10, 2023
2 parents b2ef8db + 39d30fc commit 072ee0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ builds:
binary: twitch
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc-6
- CXX=aarch64-linux-gnu-g++-6
- CC=aarch64-linux-gnu-gcc-9
- CXX=aarch64-linux-gnu-g++-9
goos:
- linux
goarch:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-release:
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/github.com/twitchdev/twitch-cli \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
twitch-cli:latest --clean --skip-publish --snapshot
twitch-cli:latest --clean --skip=publish --snapshot

build:
go build --ldflags "-s -w -X main.buildVersion=source"
Expand Down

0 comments on commit 072ee0c

Please sign in to comment.