File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121
2222dist /
23+ completions /
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ before:
1111 hooks :
1212 - go mod tidy
1313 - go mod download
14+ - ./scripts/completions.sh
15+
1416builds :
1517 - id : linux-amd64
1618 binary : kink
8688 - name : git
8789 install : |-
8890 bin.install "kink"
91+ bash_completion.install "completions/kink.bash" => "kink"
92+ zsh_completion.install "completions/kink.zsh" => "_kink"
93+ fish_completion.install "completions/kink.fish"
8994
9095archives :
9196 - replacements :
@@ -95,10 +100,15 @@ archives:
95100 386 : i386
96101 amd64 : x86_64
97102 name_template : ' {{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}'
103+ files :
104+ - completions/*
105+
98106checksum :
99107 name_template : " {{ .ProjectName }}_checksums.txt"
108+
100109snapshot :
101110 name_template : SNAPSHOT-{{.ShortCommit}}
111+
102112changelog :
103113 sort : asc
104114 filters :
@@ -108,6 +118,7 @@ changelog:
108118 - ' README'
109119 - Merge pull request
110120 - Merge branch
121+
111122release :
112123 github :
113124 owner : Trendyol
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+ rm -rf completions
4+ mkdir completions
5+ for sh in bash zsh fish; do
6+ go run main.go completion " $sh " > " completions/kink.$sh "
7+ done
You can’t perform that action at this time.
0 commit comments