Skip to content

Commit 45d47da

Browse files
Copilotyxxhero
andcommitted
Remove ignore section from GoReleaser and add freebsd-arm64/windows-arm64 support
Co-authored-by: yxxhero <[email protected]>
1 parent 596f5ad commit 45d47da

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.goreleaser.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ builds:
2121
goarch:
2222
- amd64
2323
- arm64
24-
ignore:
25-
- goos: freebsd
26-
goarch: arm64
27-
- goos: windows
28-
goarch: arm64
2924
- id: linux-additional
3025
main: .
3126
binary: bin/diff

install-binary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ initOS() {
7171
# verifySupported checks that the os/arch combination is supported for
7272
# binary builds.
7373
verifySupported() {
74-
supported="linux-amd64\nlinux-arm64\nlinux-armv6\nlinux-armv7\nlinux-ppc64le\nlinux-s390x\nfreebsd-amd64\nmacos-amd64\nmacos-arm64\nwindows-amd64"
74+
supported="linux-amd64\nlinux-arm64\nlinux-armv6\nlinux-armv7\nlinux-ppc64le\nlinux-s390x\nfreebsd-amd64\nfreebsd-arm64\nmacos-amd64\nmacos-arm64\nwindows-amd64\nwindows-arm64"
7575
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
7676
echo "No prebuild binary for ${OS}-${ARCH}."
7777
exit 1

0 commit comments

Comments
 (0)