-
Notifications
You must be signed in to change notification settings - Fork 55
/
.goreleaser.yml
65 lines (64 loc) · 2.08 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Documentation at http://goreleaser.com
builds:
- main: ./cmd/auth0
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- darwin
- linux
- windows
binary: auth0
ldflags:
- -X 'github.com/auth0/auth0-cli/internal/buildinfo.Version={{.Version}}'
- -X 'github.com/auth0/auth0-cli/internal/buildinfo.Revision={{.Commit}}'
- -X 'github.com/auth0/auth0-cli/internal/buildinfo.BuildUser=goreleaser'
- -X 'github.com/auth0/auth0-cli/internal/buildinfo.BuildDate={{.Date}}'
- -X 'github.com/auth0/auth0-cli/internal/instrumentation.SentryDSN={{.Env.SENTRY_DSN}}'
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ title .Os }}_{{ if eq .Arch "arm64" }}arm64{{ else }}x86_64{{ end }}'
files:
- none*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}"
changelog:
skip: true
brews:
- name: auth0
repository:
owner: auth0
name: homebrew-auth0-cli
commit_author:
name: auth0
email: [email protected]
homepage: https://auth0.github.io/auth0-cli
description: Build, manage and test your Auth0 integrations from the command line
license: MIT
skip_upload: auto
install: |
bin.install "auth0"
(bash_completion/"auth0").write `#{bin}/auth0 completion bash`
(fish_completion/"auth0.fish").write `#{bin}/auth0 completion fish`
(zsh_completion/"_auth0").write `#{bin}/auth0 completion zsh`
caveats: "Thanks for installing the Auth0 CLI"
scoops:
- name: auth0
repository:
owner: auth0
name: scoop-auth0-cli
commit_author:
name: auth0
email: [email protected]
commit_msg_template: "Scoop manifest update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://auth0.github.io/auth0-cli
description: Build, manage and test your Auth0 integrations from the command line
license: MIT
skip_upload: auto
post_install: ["Write-Host 'Thanks for installing the Auth0 CLI'"]