-
Notifications
You must be signed in to change notification settings - Fork 32
/
.goreleaser.yml
96 lines (85 loc) · 2.09 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
91
92
93
94
95
project_name: tools
monorepo:
tag_prefix: tools/
dir: tools/
builds:
# Linux AMD64
- id: abigen-amd64
binary: abigen-amd64
env:
- CGO_CFLAGS=-I/usr/local/include
- CGO_ENABLED=1
- CGO_LDFLAGS=-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -lzstd -lbz2
# see: https://github.com/cosmos/iavl/pull/465/files
ldflags:
- -s -w
main: abigen/main.go
flags:
- -tags=builtin_static,rocksdb,static
goos:
- linux
goarch:
- amd64
- id: modulecopier-amd64
binary: modulecopier-amd64
env:
- CGO_CFLAGS=-I/usr/local/include
- CGO_ENABLED=1
- CGO_LDFLAGS=-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -lzstd -lbz2
# see: https://github.com/cosmos/iavl/pull/465/files
ldflags:
- -s -w
main: modulecopier/main.go
flags:
- -tags=builtin_static,rocksdb,static
goos:
- linux
goarch:
- amd64
- id: resolver-amd64
binary: resolver-amd64
env:
# probably not neccesary for this module
- CGO_CFLAGS=-I/usr/local/include
- CGO_ENABLED=1
- CGO_LDFLAGS=-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -lzstd -lbz2
# see: https://github.com/cosmos/iavl/pull/465/files
ldflags:
- -s -w
main: revertresolver/main.go
flags:
- -tags=builtin_static,rocksdb,static # probably not neccesary for this module
goos:
- linux
goarch:
- amd64
# add a source archive at release time
source:
enabled: true
# Archives
archives:
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: '{{.ProjectName}}-{{.Version}}_{{.Os}}_{{.Arch}}'
files:
- abigen/README.md
- modulecopier/README.md
checksum:
name_template: checksums.txt
# Add a changelog
changelog:
sort: asc
# track sizes
report_sizes: true
# modified timestamps
metadata:
# Set the modified timestamp on the metadata files.
#
# Templates: allowed.
mod_timestamp: '{{ .CommitTimestamp }}'
# produce software bill of lading
sboms:
- artifacts: archive