-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,57 @@ | ||
# Documentation at http://goreleaser.com | ||
builds: | ||
- main: ./cmd/auth0 | ||
env: | ||
- CGO_ENABLED=0 | ||
goarch: | ||
- amd64 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
binary: auth0 | ||
- main: ./cmd/auth0 | ||
env: | ||
- CGO_ENABLED=0 | ||
goarch: | ||
- amd64 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
binary: auth0 | ||
archives: | ||
- replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
files: | ||
- none* | ||
- replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
files: | ||
- none* | ||
checksum: | ||
name_template: 'checksums.txt' | ||
name_template: "checksums.txt" | ||
snapshot: | ||
name_template: "{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- "^docs:" | ||
- "^test:" | ||
brews: | ||
- | ||
tap: | ||
owner: auth0 | ||
name: homebrew-auth0-cli | ||
commit_author: | ||
name: auth0 | ||
email: [email protected] | ||
homepage: https://cli.auth0.com | ||
description: Auth0 CLI | ||
install: | | ||
bin.install "auth0" | ||
rm Dir["#{bin}/{auth0-completion.bash,auth0-completion.zsh}"] | ||
system bin/"auth0", "completion", "--shell", "bash" | ||
system bin/"auth0", "completion", "--shell", "zsh" | ||
bash_completion.install "auth0-completion.bash" | ||
zsh_completion.install "auth0-completion.zsh" | ||
(zsh_completion/"_auth0").write <<~EOS | ||
#compdef auth0 | ||
_auth0 () { | ||
local e | ||
e=$(dirname ${funcsourcetrace[1]%:*})/auth0-completion.zsh | ||
if [[ -f $e ]]; then source $e; fi | ||
} | ||
EOS | ||
caveats: "Thanks for installing Auth0 CLI" |