-
Notifications
You must be signed in to change notification settings - Fork 13
/
.goreleaser.yaml
45 lines (44 loc) · 885 Bytes
/
.goreleaser.yaml
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
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -X main.Version={{.Version}}
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: pete911
name: certinfo
brews:
- repository:
owner: pete911
name: homebrew-tap
token: "{{ .Env.GITHUB_TOKEN }}"
name: certinfo
homepage: "https://github.com/pete911/certinfo"
description: "Print x509 certificate info."
directory: Formula
install: |
bin.install "certinfo"
test: |
assert_match /Usage/, shell_output("#{bin}/certinfo -h", 0)