diff --git a/.gitignore b/.gitignore index be43826..932f795 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ bin/* gospt_zsh gospt_bash gospt_fish +completions .idea/* .idea diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 72b5871..5747665 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -30,6 +30,8 @@ archives: format_overrides: - goos: windows format: zip + files: + - completions/* checksum: name_template: 'checksums.txt' snapshot: diff --git a/.woodpecker.yml b/.woodpecker.yml index 8c36478..c92935d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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