1
0
mirror of https://github.com/go-task/task.git synced 2025-06-29 00:51:43 +02:00

fix: goreleaser brew completions

This commit is contained in:
Carlos A Becker
2021-10-27 14:44:10 -03:00
parent a3b5b89930
commit c31ecdb8de
2 changed files with 10 additions and 3 deletions

View File

@ -23,4 +23,4 @@ jobs:
version: latest version: latest
args: release --rm-dist args: release --rm-dist
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GH_PAT}}

View File

@ -25,6 +25,10 @@ gomod:
archives: archives:
- name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}" - name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}"
files:
- README.md
- LICENSE
- completion/**/*
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip format: zip
@ -62,5 +66,8 @@ brews:
name: homebrew-tap name: homebrew-tap
test: test:
system "#{bin}/task", "--help" system "#{bin}/task", "--help"
url_template: https://github.com/go-task/task/releases/download/{{.Tag}}/{{.ArtifactName}} install: |-
skip_upload: true bin.install "task"
bash_completion.install "completion/bash/task.bash" => "task"
zsh_completion.install "completion/zsh/_task" => "_task"
fish_completion.install "completion/fish/task.fish"