-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
72 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
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://soh.re
description: Download and trust certs
maintainer: Jonathan Seth Mainguy <[email protected]>
license: GPLv2
vendor: Jmainguy
release: 1
replacements:
amd64: x86_64
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{.Release}}.{{ .Arch }}"
deb:
file_name_template: "{{ .ProjectName }}_{{ .Version }}-{{.Release}}_{{ .Arch }}"
formats:
- deb
- rpm
brews:
- tap:
owner: jmainguy
name: homebrew-tap
folder: Formula
homepage: https://github.com/Jmainguy/certificatedownloader
description: "Download and trust certs"
license: "GPL-2.0"
commit_author:
name: Jonathan Mainguy
email: [email protected]
test: |
system "#{bin}/certificatedownloader"
install: |
bin.install "certificatedownloader"
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'