Skip to content

Commit 5730ad2

Browse files
authored
Add releases for linux-riscv64
This project is a dependency of `k0s` which is working on being built, tested and released on `linux-riscv64` [1]. RISC-V is gaining momentum especially in the embedded and edge world. [1] k0sproject/k0s#7414
1 parent e3903ad commit 5730ad2

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

deploy/.goreleaser.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ builds:
99
main: ./cmd/preflight/main.go
1010
env: [CGO_ENABLED=0]
1111
goos: [linux, darwin, windows]
12-
goarch: [amd64, arm, arm64]
12+
goarch: [amd64, arm, arm64, riscv64]
1313
ignore:
1414
- goos: windows
1515
goarch: arm
16+
- goos: windows
17+
goarch: riscv64
18+
- goos: darwin
19+
goarch: riscv64
1620
ldflags:
1721
- -s -w
1822
- -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -32,10 +36,14 @@ builds:
3236
main: ./cmd/troubleshoot/main.go
3337
env: [CGO_ENABLED=0]
3438
goos: [linux, darwin, windows]
35-
goarch: [amd64, arm, arm64]
39+
goarch: [amd64, arm, arm64, riscv64]
3640
ignore:
3741
- goos: windows
3842
goarch: arm
43+
- goos: windows
44+
goarch: riscv64
45+
- goos: darwin
46+
goarch: riscv64
3947
ldflags:
4048
- -s -w
4149
- -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -55,10 +63,14 @@ builds:
5563
main: ./cmd/collect/main.go
5664
env: [CGO_ENABLED=0]
5765
goos: [linux, darwin, windows]
58-
goarch: [amd64, arm, arm64]
66+
goarch: [amd64, arm, arm64, riscv64]
5967
ignore:
6068
- goos: windows
6169
goarch: arm
70+
- goos: windows
71+
goarch: riscv64
72+
- goos: darwin
73+
goarch: riscv64
6274
ldflags:
6375
- -s -w
6476
- -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}

0 commit comments

Comments
 (0)