-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
73 lines (66 loc) · 1.45 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
66
67
68
69
70
71
72
73
# .goreleaser.yml
release:
github:
owner: openaq
name: openaq-cli
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: freebsd
goarch: arm
dir: .
main: .
binary: openaq
flags:
- -trimpath
ldflags:
- -X github.com/openaq/openaq-cli/cmd/version.Version={{.Version}}
- -s -w
checksum:
algorithm: sha256
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
# Homebrew
brews:
- repository:
owner: openaq
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
folder: Formula
goarm: "7"
homepage: https://github.com/openaq/openaq-cli
description: Official Command Line Interface for OpenAQ. Get your API key here -> https://api.openaq.org/register
license: MIT
test: |
system "#{bin}/openaq-cli -v"
# Scoop
scoops:
- repository:
owner: openaq
name: scoop-bucket
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
folder: bucket
homepage: https://github.com/openaq/openaq-cli
description: |
Official Command Line Interface for OpenAQ. Get your API key here -> https://api.openaq.org/register
license: MIT