1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00
goreleaser/scripts/completions.sh
Carlos Alexandro Becker fafeb9b0dc
fix: install completions with homebrew (#1877)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-04 23:12:49 -03:00

8 lines
150 B
Bash
Executable File

#!/bin/sh
set -e
rm -rf completions
mkdir completions
for sh in bash zsh fish; do
go run main.go completion "$sh" >"completions/goreleaser.$sh"
done