-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
90 lines (74 loc) · 2.14 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
project_name: cert-ripper
release:
name_template: '{{ .ProjectName }}-{{ .Version }}'
before:
hooks:
- go mod tidy
changelog:
use: github
sort: asc
abbrev: 0
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: 'Bug fixes'
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
filters:
# Commit messages matching the regexp listed here will be removed from
# the changelog
exclude:
- '^docs:'
- typo
- (?i)foo
builds:
- <<: &build_defaults
binary: bin/cert-ripper
ldflags:
- -s -w -X cert-ripper-go/cmd.appVersion=${{.Version}}" -X cert-ripper-go/cmd.gitCommit=${{.Commit}}
id: macos
goos: [darwin]
goarch: [amd64, arm64]
- <<: *build_defaults
id: linux
goos: [linux]
goarch: [386, arm, amd64, arm64]
env:
- CGO_ENABLED=0
- <<: *build_defaults
id: windows
goos: [windows]
goarch: [386, amd64, arm64]
archives:
-
id: archive
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
format_overrides:
- goos: windows
format: zip
brews:
-
goarm: 6
goamd64: v1
tap:
owner: recon-tools
name: homebrew-recon-tools
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/recon-tools/cert-ripper-go/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://github.com/recon-tools/cert-ripper-go"
description: "Print, extract and validate TLS certificate chains for domains and URLs."
license: "MIT"
skip_upload: auto
test: |
system "#{bin}/cert-ripper", "--help"
install: |
bin.install "bin/cert-ripper"