CI: add completions
This commit is contained in:
parent
5e4a8c3799
commit
5c409f4314
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@ bin/*
|
||||
gospt_zsh
|
||||
gospt_bash
|
||||
gospt_fish
|
||||
completions
|
||||
|
||||
.idea/*
|
||||
.idea
|
||||
|
@ -30,6 +30,8 @@ archives:
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
files:
|
||||
- completions/*
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
|
@ -3,9 +3,9 @@ pipeline:
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- go build -o gospt
|
||||
- ./gospt completion zsh > gospt_zsh
|
||||
- ./gospt completion bash > gospt_bash
|
||||
- ./gospt completion fish > gospt_fish
|
||||
- ./gospt completion zsh > completions/gospt_zsh
|
||||
- ./gospt completion bash > completions/gospt_bash
|
||||
- ./gospt completion fish > completions/gospt_fish
|
||||
|
||||
publish:
|
||||
image: goreleaser/goreleaser
|
||||
|
Loading…
Reference in New Issue
Block a user