Skip to content

Commit e11ac6b

Browse files
committed
release process improvements
1 parent 518aba4 commit e11ac6b

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ archives:
2121
- id: pv-mounter
2222
builds:
2323
- pv-mounter
24-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
24+
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
2525

.krew.yaml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
apiVersion: krew.googlecontainertools.github.com/v1alpha2
2+
kind: Plugin
3+
metadata:
4+
name: pv-mounter
5+
spec:
6+
version: {{ .TagName }}
7+
shortDescription: Mount PVC locally using SSHFS
8+
homepage: https://github.com/fenio/pv-mounter
9+
description: |
10+
Plugin that allows to mount PVC locally using SSHFS
11+
platforms:
12+
- selector:
13+
matchLabels:
14+
os: linux
15+
arch: amd64
16+
{{addURIAndSha "https://github.com/fenio/pv-mounter/releases/download/{{ .TagName }}/pv-mounter_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
17+
files:
18+
- from: "./pv-mounter"
19+
to: "."
20+
- from: LICENSE
21+
to: "."
22+
bin: "pv-mounter"
23+
- selector:
24+
matchLabels:
25+
os: linux
26+
arch: arm64
27+
{{addURIAndSha "https://github.com/fenio/pv-mounter/releases/download/{{ .TagName }}/pv-mounter_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
28+
files:
29+
- from: "./pv-mounter"
30+
to: "."
31+
- from: LICENSE
32+
to: "."
33+
bin: "pv-mounter"
34+
35+
- selector:
36+
matchLabels:
37+
os: darwin
38+
arch: amd64
39+
{{addURIAndSha "https://github.com/fenio/pv-mounter/releases/download/{{ .TagName }}/pv-mounter_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
40+
files:
41+
- from: "./pv-mounter"
42+
to: "."
43+
- from: LICENSE
44+
to: "."
45+
bin: "pv-mounter"
46+
- selector:
47+
matchLabels:
48+
os: darwin
49+
arch: arm64
50+
{{addURIAndSha "https://github.com/fenio/pv-mounter/releases/download/{{ .TagName }}/pv-mounter_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
51+
files:
52+
- from: "./pv-mounter"
53+
to: "."
54+
- from: LICENSE
55+
to: "."
56+
bin: "pv-mounter"
57+
58+

0 commit comments

Comments
 (0)