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_zsh
|
||||||
gospt_bash
|
gospt_bash
|
||||||
gospt_fish
|
gospt_fish
|
||||||
|
completions
|
||||||
|
|
||||||
.idea/*
|
.idea/*
|
||||||
.idea
|
.idea
|
||||||
|
@ -30,6 +30,8 @@ archives:
|
|||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
files:
|
||||||
|
- completions/*
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
@ -3,9 +3,9 @@ pipeline:
|
|||||||
image: golang:1.19
|
image: golang:1.19
|
||||||
commands:
|
commands:
|
||||||
- go build -o gospt
|
- go build -o gospt
|
||||||
- ./gospt completion zsh > gospt_zsh
|
- ./gospt completion zsh > completions/gospt_zsh
|
||||||
- ./gospt completion bash > gospt_bash
|
- ./gospt completion bash > completions/gospt_bash
|
||||||
- ./gospt completion fish > gospt_fish
|
- ./gospt completion fish > completions/gospt_fish
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: goreleaser/goreleaser
|
image: goreleaser/goreleaser
|
||||||
|
Loading…
Reference in New Issue
Block a user