From 6f498aedc6d3a2ad82e9e96433243374ed146bf9 Mon Sep 17 00:00:00 2001 From: Marc Brugger Date: Sat, 1 Nov 2025 00:32:21 +0100 Subject: [PATCH] Add riscv64 architecture support to goreleaser (#688) --- .goreleaser.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1af6dde..2733bb6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,6 +16,7 @@ builds: - amd64 - arm - arm64 + - riscv64 goarm: - 5 - 6 @@ -25,10 +26,14 @@ builds: goarch: arm - goos: darwin goarch: arm64 + - goos: darwin + goarch: riscv64 - goos: windows goarch: arm - goos: windows goarch: arm64 + - goos: windows + goarch: riscv64 - goos: openbsd goarch: 386 - goos: openbsd @@ -36,7 +41,7 @@ builds: hooks: post: # don't upx windows binaries as they make trouble with virus scanners - - bash -c 'if [[ "{{ .Path }}" != *.exe ]] && [[ "{{ .Path }}" != *darwin* ]] && [[ "{{ .Path }}" != *openbsd* ]]; then upx {{ .Path }}; fi' + - bash -c 'if [[ "{{ .Path }}" != *.exe ]] && [[ "{{ .Path }}" != *darwin* ]] && [[ "{{ .Path }}" != *openbsd* ]] && [[ "{{ .Path }}" != *riscv* ]]; then upx {{ .Path }}; fi' checksum: name_template: 'checksums.txt' snapshot: @@ -51,4 +56,4 @@ changelog: release: prerelease: auto sboms: - - artifacts: archive \ No newline at end of file + - artifacts: archive