Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin/
dist
completions/
6 changes: 6 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version: 2
before:
hooks:
- go mod tidy
- sh -c 'mkdir -p completions && for shell in bash zsh fish; do go run . completion "$shell" > "completions/equinix.$shell"; done'
builds:
- main: ./main.go
env:
Expand All @@ -28,6 +29,7 @@ archives:
name_template: "equinix-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- completions/*
checksum:
name_template: "equinix_{{ .Version }}_checksums.txt"
release:
Expand All @@ -38,6 +40,10 @@ homebrew_casks:
homepage: "https://docs.equinix.com/"
description: "Official Equinix CLI"
license: "MIT"
completions:
bash: completions/equinix.bash
zsh: completions/equinix.zsh
fish: completions/equinix.fish
commit_msg_template: "Brew formula update for equinix version {{ .Tag }}"
hooks:
post:
Expand Down
Loading