From 39d30fc847b555d55a021403e4af714c673af904 Mon Sep 17 00:00:00 2001 From: Marc Szanto <11840265+Xemdo@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:36:55 -0700 Subject: [PATCH] Changed goreleaser to use correct GCC version for Linux arm64 --- .goreleaser.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index acd1298e..c1b56356 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: diff --git a/Makefile b/Makefile index dd5054fb..a7e18980 100644 --- a/Makefile +++ b/Makefile @@ -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"