Add riscv64 architecture support to goreleaser (#688)

This commit is contained in:
Marc Brugger
2025-11-01 00:32:21 +01:00
committed by GitHub
parent 57f8938ccc
commit 6f498aedc6

View File

@@ -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
- artifacts: archive