CI: add completions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
abs3nt 2023-02-28 09:02:16 -08:00
parent 5e4a8c3799
commit 5c409f4314
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ bin/*
gospt_zsh
gospt_bash
gospt_fish
completions
.idea/*
.idea

View File

@ -30,6 +30,8 @@ archives:
format_overrides:
- goos: windows
format: zip
files:
- completions/*
checksum:
name_template: 'checksums.txt'
snapshot:

View File

@ -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