File tree 3 files changed +18
-14
lines changed 3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 86
86
args : release --rm-dist --config deploy/.goreleaser.yaml
87
87
env :
88
88
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89
+
90
+
91
+ - name : Update new preflight version in krew-index
92
+ uses :
rajatjindal/[email protected]
93
+ with :
94
+ krew_template_file : deploy/krew/preflight.yaml
95
+ - name : Update new support-bundle version in krew-index
96
+ uses :
rajatjindal/[email protected]
97
+ with :
98
+ krew_template_file : deploy/krew/support-bundle.yaml
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ kind: Plugin
3
3
metadata :
4
4
name : preflight
5
5
spec :
6
- version : " v0.9.14 "
6
+ version : {{ .TagName }}
7
7
platforms :
8
8
- selector :
9
9
matchLabels :
10
10
os : linux
11
11
arch : amd64
12
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/preflight_linux_amd64.tar.gz
13
- sha256 : " 25b062760a23e546d22f1687fd460095d61f9fd4a210eec5cc4bacb648b043da"
12
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/preflight_linux_amd64.tar.gz" .TagName }}
14
13
files :
15
14
- from : preflight
16
15
to : .
21
20
matchLabels :
22
21
os : darwin
23
22
arch : amd64
24
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/preflight_darwin_amd64.tar.gz
25
- sha256 : " 00e21d1fe38fd8373136a064e15586b3d4eab49a4d3617167680eea27ebbcc65"
23
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/preflight_darwin_amd64.tar.gz" .TagName }}
26
24
files :
27
25
- from : preflight
28
26
to : .
33
31
matchLabels :
34
32
os : windows
35
33
arch : amd64
36
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/preflight_windows_amd64.zip
37
- sha256 : " 1b10f6a7ca73722c458a44afb9e3a91af2d41681d0e0ea16483413691e363460"
34
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/preflight.exe_windows_amd64.zip" .TagName }}
38
35
files :
39
36
- from : preflight.exe
40
37
to : .
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ kind: Plugin
3
3
metadata :
4
4
name : support-bundle
5
5
spec :
6
- version : " v0.9.14 "
6
+ version : {{ .TagName }}
7
7
platforms :
8
8
- selector :
9
9
matchLabels :
10
10
os : linux
11
11
arch : amd64
12
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/support-bundle_linux_amd64.tar.gz
13
- sha256 : " 81ed16f3e423535f026909df2823f5da9909ec5762a150c76fde94d985d101c7"
12
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_linux_amd64.tar.gz" .TagName }}
14
13
files :
15
14
- from : support-bundle
16
15
to : .
21
20
matchLabels :
22
21
os : darwin
23
22
arch : amd64
24
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/support-bundle_darwin_amd64.tar.gz
25
- sha256 : " 84d2cd6b3d77ed2e8e83cda6f79b553e443acb2cc7cb0099be2a73934dac46f4"
23
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_darwin_amd64.tar.gz" .TagName }}
26
24
files :
27
25
- from : support-bundle
28
26
to : .
33
31
matchLabels :
34
32
os : windows
35
33
arch : amd64
36
- uri : https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.14/support-bundle_windows_amd64.zip
37
- sha256 : " b968d9168ce97c7dc43cb4e043a8d6762c1e231d68f90826a019571f8d450719"
34
+ {{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle.exe_windows_amd64.zip" .TagName }}
38
35
files :
39
36
- from : support-bundle.exe
40
37
to : .
You can’t perform that action at this time.
0 commit comments