Skip to content

Commit def159d

Browse files
authored
Merge pull request #2 from mikeknox/add-darwin-arm64
Add support for m1 - (Darwin+arm64)
2 parents b91bf10 + ffd3b8f commit def159d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ release:
33
github:
44
owner: mattfenwick
55
name: kubectl-cyclonus
6+
prerelease: auto
67
builds:
78
- id: kubectl-cyclonus
89
goos:
@@ -12,6 +13,7 @@ builds:
1213
goarch:
1314
- amd64
1415
- "386"
16+
- arm64
1517
env:
1618
- CGO_ENABLED=0
1719
- GO111MODULE=on

.krew.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ spec:
2727
- from: LICENSE
2828
to: "."
2929
bin: "cyclonus"
30+
- selector:
31+
matchLabels:
32+
os: darwin
33+
arch: arm64
34+
{{addURIAndSha "https://github.com/mattfenwick/kubectl-cyclonus/releases/download/{{ .TagName }}/kubectl-cyclonus_darwin_arm64.tar.gz" .TagName }}
35+
files:
36+
- from: "./kubectl-cyclonus"
37+
to: "cyclonus"
38+
- from: LICENSE
39+
to: "."
40+
bin: "cyclonus"
3041
- selector:
3142
matchLabels:
3243
os: windows

0 commit comments

Comments
 (0)