-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
93 lines (85 loc) · 1.86 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
version: 2
project_name: vigilante
builds:
- id: vigilante-linux-amd64
main: ./cmd/vigilante/main.go
binary: vigilante
goos:
- linux
goarch:
- amd64
env:
- GO111MODULE=on
flags:
- -mod=readonly
- -trimpath
ldflags:
- -w -s
tags:
- netgo
- osusergo
- id: vigilante-darwin-arm64
main: ./cmd/vigilante/main.go
binary: vigilante
hooks:
pre:
- wget https://github.com/CosmWasm/wasmvm/releases/download/v2.1.3/libwasmvmstatic_darwin.a -O /lib/libwasmvmstatic_darwin.a
goos:
- darwin
goarch:
- arm64
env:
- GO111MODULE=on
- CGO_ENABLED=1
- CC=oa64-clang
- CGO_LDFLAGS=-L/lib -Wl,-rpath,/lib
ldflags:
- -w -s
- -linkmode=external
flags:
- -mod=readonly
- -trimpath
tags:
- netgo
- ledger
- static_wasm
archives:
- id: zipped
builds:
- vigilante-linux-amd64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- none*
- id: binaries
builds:
- vigilante-linux-amd64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: binary
files:
- none*
- id: zipped-arm64
builds:
- vigilante-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- none*
- id: binaries-arm64
builds:
- vigilante-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: binary
files:
- none*
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
algorithm: sha256
release:
github:
owner: babylonlabs-io
name: vigilante
# Docs: https://goreleaser.com/customization/changelog/
changelog:
disable: true
dist: dist