-
Notifications
You must be signed in to change notification settings - Fork 44
/
.goreleaser.yaml
45 lines (45 loc) · 1.25 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
before:
hooks:
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.LIBWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /lib/libwasmvm_muslc.a
- apk add musl-dev
env:
- CGO_ENABLED=1
builds:
- id: aurad-linux-amd64
main: ./cmd/aurad
binary: aurad
goos:
- linux
goarch:
- amd64
flags:
- -mod=readonly
- -trimpath
ldflags:
- -s -w
- -X github.com/cosmos/cosmos-sdk/version.Name=aura
- -X github.com/cosmos/cosmos-sdk/version.AppName=aurad
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Env.VERSION }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Env.COMMIT }}
- -X github.com/cometbft/cometbft/version.TMCoreSemVer={{ .Env.BFT_VERSION }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags={{ .Env.BUILD_TAGS_COMMA_SEP }}
- -linkmode=external
- -extldflags '-Wl,-z,muldefs --static -lm'
tags:
- netgo
- muslc
changelog:
use: github-native
release:
prerelease: auto
checksum:
name_template: '{{ .ProjectName }}d_{{ .Env.VERSION }}_checksums.txt'
archives:
- id: binary
builds:
- aurad-linux-amd64
name_template: '{{ .ProjectName }}d'
wrap_in_directory: false
format: binary
files:
- none*