forked from cloudquery/cloudquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
82 lines (82 loc) · 2.22 KB
/
.goreleaser.yaml
File metadata and controls
82 lines (82 loc) · 2.22 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
before:
hooks:
- go mod download
- go generate ./...
builds:
- flags:
- -buildmode=exe
env:
- GOGC=off
- CGO_ENABLED=0
- GO111MODULE=on
main: ./main.go
ldflags:
- -s -w -X github.com/cloudquery/cloudquery/pkg/client.Version={{.Version}} -X github.com/cloudquery/cloudquery/cmd.Commit={{.Commit}} -X github.com/cloudquery/cloudquery/cmd.Date={{.Date}}
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
archives:
-
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: binary
-
id: homebrew
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: zip
dockers:
-
goos: linux
goarch: amd64
dockerfile: Dockerfile.goreleaser
image_templates:
- "ghcr.io/cloudquery/cloudquery:latest"
- "ghcr.io/cloudquery/cloudquery:{{.Version}}"
- "ghcr.io/cloudquery/cloudquery:{{ .Major }}.{{ .Minor }}"
build_flag_templates:
- "--label=org.opencontainers.image.source=https://github.com/cloudquery/cloudquery"
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
ids:
- homebrew
name: cloudquery
tap:
owner: cloudquery
name: homebrew-tap
url_template: "https://github.com/cloudquery/cloudquery/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://cloudquery.io"
description: "Easily monitor and ask questions about your infrastructure."
install: |-
bin.install "cloudquery"
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "bash")
(bash_completion/"cloudquery").write output
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "zsh")
(zsh_completion/"_cloudquery").write output
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "fish")
(fish_completion/"cloudquery.fish").write output