-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
83 lines (75 loc) · 1.64 KB
/
.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
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
project_name: koios-cli
release:
draft: true
github:
owner: cardano-community
name: koios-cli
builds:
- binary: koios-cli
goos:
- darwin
- windows
- linux
- freebsd
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "7"
mod_timestamp: '{{ .CommitTimestamp }}'
env:
- CGO_ENABLED=0
ignore:
- goos: darwin
goarch: '386'
- goos: freebsd
goarch: arm64
main: ./
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
flags:
- -trimpath
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- LICENSE
- README.md
universal_binaries:
- replace: false
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
changelog:
sort: desc
filters:
exclude:
- '^.github:'
- '^test:'
- 'README'
- 'build\(deps\): bump .* in /docs \(#\d+\)'
- Merge pull request
- Merge branch
- Merge remote-tracking branch
before:
hooks:
- go mod tidy
nfpms:
-
id: koios-cli-nfpms
package_name: koios-cli
file_name_template: "{{ .ConventionalFileName }}"
homepage: https://github.com/cardano-community/koios-cli
maintainer: "The Cardano Community Authors <[email protected]>"
description: Koios CLI
vendor: Cardano Community
license: Apache 2.0
formats:
- apk
- deb
- rpm