-
Notifications
You must be signed in to change notification settings - Fork 41
/
.goreleaser.yml
91 lines (82 loc) · 1.84 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
# Goreleaser configuration file
project_name: cheqd-node
env:
- GO111MODULE=on
before:
hooks:
- make clean
- go mod tidy
- go mod download
builds:
- id: cheqd-linux
main: ./cmd/cheqd-noded
binary: cheqd-noded
env:
- CGO_ENABLED=1
targets:
- linux_amd64
hooks:
pre: make proto-gen
flags:
- -mod=readonly
- -tags="netgo ledger"
- -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
replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
format: tar.gz
wrap_in_directory: true
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- LICENSE
- README.md
checksum:
algorithm: sha256
changelog:
use: github-native
sort: asc
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
filters:
exclude:
- '^docs'
- '^test'
- '^ci'
- '^refactor'
- '^revert'
- '^style'
release:
github:
owner: cheqd
name: cheqd-node
draft: false
prerelease: true
mode: append
header: |
# Release Notes for {{.ProjectName}} v{{.Version}}