Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ aurs:
git_ssh_command: 'ssh -i {{ .KeyPath }} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -F /dev/null'

# https://goreleaser.com/customization/homebrew/
homebrew_casks:
brews:
- name: fastly
ids: [nix]
repository:
Expand All @@ -120,18 +120,18 @@ homebrew_casks:
skip_upload: auto
description: A CLI for interacting with the Fastly platform
homepage: https://github.com/fastly/cli
directory: Casks
directory: Formula
custom_block: |
head do
url "https://github.com/fastly/cli.git"
depends_on "go"
end
install: |
install: |-
system "make" if build.head?
bin.install "fastly"
(bash_completion/"fastly.sh").write `#{bin}/fastly --completion-script-bash`
(zsh_completion/"_fastly").write `#{bin}/fastly --completion-script-zsh`
test: |
test: |-
help_text = shell_output("#{bin}/fastly --help")
assert_includes help_text, "Usage:"

Expand Down
Loading