-
Notifications
You must be signed in to change notification settings - Fork 43
/
.goreleaser.yml
120 lines (108 loc) · 2.89 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Goreleaser configuration file
version: 2
project_name: cheqd-node
env:
- GO111MODULE=on
before:
hooks:
- make clean
- make tidy
- make proto-gen
- make swagger
builds:
- id: linux-amd64
main: ./cmd/cheqd-noded
binary: cheqd-noded
targets:
- "linux_amd64"
env:
- CGO_ENABLED=1
flags:
- -mod=readonly
- -tags="netgo ledger goleveldb"
- -trimpath
ldflags:
- -s -w
- -X github.com/cosmos/cosmos-sdk/version.Name=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.AppName=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,goleveldb
- id: linux-arm64
main: ./cmd/cheqd-noded
binary: cheqd-noded
targets:
- "linux_arm64"
env:
- CGO_ENABLED=0
flags:
- -mod=readonly
- -tags="netgo ledger goleveldb"
- -trimpath
ldflags:
- -s -w
- -X github.com/cosmos/cosmos-sdk/version.Name=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.AppName=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,goleveldb
- id: darwin
env:
- CGO_ENABLED=0
main: ./cmd/cheqd-noded
binary: cheqd-noded
goos:
- darwin
goarch:
- amd64
- arm64
flags:
- -mod=readonly
- -tags="netgo ledger goleveldb"
- -trimpath
ldflags:
- -s -w
- -X github.com/cosmos/cosmos-sdk/version.Name=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.AppName=cheqd-noded
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,goleveldb
archives:
- id: release-archives
format: tar.gz
wrap_in_directory: false
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- README.md
checksum:
algorithm: sha256
changelog:
use: github-native
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Performance Improvements'
regexp: "^.*perf[(\\w)]*:+.*$"
order: 2
- title: 'Build Improvements'
regexp: "^.*build[(\\w)]*:+.*$"
order: 3
- title: 'Security'
regexp: "^.*build[(\\w)]*:+.*$"
order: 4
- title: 'Other changes'
order: 999
release:
github:
owner: cheqd
name: cheqd-node
draft: false
prerelease: "true"
mode: keep-existing
header: |
# Release Notes for {{.ProjectName}} v{{.Version}}