File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -74,25 +74,26 @@ release:
74
74
75
75
https://release-{{ replace .Tag "." "-" }}.pipelines-as-code.pages.dev
76
76
77
- brews :
77
+ homebrew_casks :
78
78
- name : tektoncd-pac
79
79
repository :
80
80
owner : openshift-pipelines
81
81
name : homebrew-pipelines-as-code
82
82
directory : Formula
83
83
dependencies :
84
- - name : tektoncd-cli
85
- type : optional
86
- - name : git
84
+ - formula : tektoncd-cli
85
+ - formula : git
87
86
homepage : " https://pipelinesascode.com"
88
87
description : tkn-pac - A command line interface for interacting with Pipelines as Code
89
- install : |
90
- bin.install "tkn-pac" => "tkn-pac"
91
- output = Utils.popen_read("SHELL=bash #{bin}/tkn-pac completion bash")
92
- (bash_completion/"tkn-pac").write output
93
- output = Utils.popen_read("SHELL=zsh #{bin}/tkn-pac completion zsh")
94
- (zsh_completion/"_tkn-pac").write output
95
- prefix.install_metafiles
88
+ hooks :
89
+ pre :
90
+ install : |
91
+ bin.install "tkn-pac" => "tkn-pac"
92
+ output = Utils.popen_read("SHELL=bash #{bin}/tkn-pac completion bash")
93
+ (bash_completion/"tkn-pac").write output
94
+ output = Utils.popen_read("SHELL=zsh #{bin}/tkn-pac completion zsh")
95
+ (zsh_completion/"_tkn-pac").write output
96
+ prefix.install_metafiles
96
97
nfpms :
97
98
- file_name_template : >-
98
99
tkn-pac-
You can’t perform that action at this time.
0 commit comments