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:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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}}
|
||||||
|
@ -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"
|
||||||
|
Reference in New Issue
Block a user