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_zsh
gospt_bash gospt_bash
gospt_fish gospt_fish
completions
.idea/* .idea/*
.idea .idea

View File

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

View File

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