File tree Expand file tree Collapse file tree 1 file changed +47
-21
lines changed Expand file tree Collapse file tree 1 file changed +47
-21
lines changed Original file line number Diff line number Diff line change 1
1
# Documentation at http://goreleaser.com
2
2
builds :
3
- - main : ./cmd/auth0
4
- env :
5
- - CGO_ENABLED=0
6
- goarch :
7
- - amd64
8
- goos :
9
- - darwin
10
- - linux
11
- - windows
12
- binary : auth0
3
+ - main : ./cmd/auth0
4
+ env :
5
+ - CGO_ENABLED=0
6
+ goarch :
7
+ - amd64
8
+ goos :
9
+ - darwin
10
+ - linux
11
+ - windows
12
+ binary : auth0
13
13
archives :
14
- - replacements :
15
- darwin : Darwin
16
- linux : Linux
17
- windows : Windows
18
- 386 : i386
19
- amd64 : x86_64
20
- files :
21
- - none*
14
+ - replacements :
15
+ darwin : Darwin
16
+ linux : Linux
17
+ windows : Windows
18
+ 386 : i386
19
+ amd64 : x86_64
20
+ files :
21
+ - none*
22
22
checksum :
23
- name_template : ' checksums.txt'
23
+ name_template : " checksums.txt"
24
24
snapshot :
25
25
name_template : " {{ .Tag }}-SNAPSHOT-{{.ShortCommit}}"
26
26
changelog :
27
27
sort : asc
28
28
filters :
29
29
exclude :
30
- - ' ^docs:'
31
- - ' ^test:'
30
+ - " ^docs:"
31
+ - " ^test:"
32
+ brews :
33
+ -
34
+ tap :
35
+ owner : auth0
36
+ name : homebrew-auth0-cli
37
+ commit_author :
38
+ name : auth0
39
+ email : support@auth0.com
40
+ homepage : https://cli.auth0.com
41
+ description : Auth0 CLI
42
+ install : |
43
+ bin.install "auth0"
44
+ rm Dir["#{bin}/{auth0-completion.bash,auth0-completion.zsh}"]
45
+ system bin/"auth0", "completion", "--shell", "bash"
46
+ system bin/"auth0", "completion", "--shell", "zsh"
47
+ bash_completion.install "auth0-completion.bash"
48
+ zsh_completion.install "auth0-completion.zsh"
49
+ (zsh_completion/"_auth0").write <<~EOS
50
+ #compdef auth0
51
+ _auth0 () {
52
+ local e
53
+ e=$(dirname ${funcsourcetrace[1]%:*})/auth0-completion.zsh
54
+ if [[ -f $e ]]; then source $e; fi
55
+ }
56
+ EOS
57
+ caveats : " Thanks for installing Auth0 CLI"
You can’t perform that action at this time.
0 commit comments