forked from oasisprotocol/oasis-web3-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
75 lines (62 loc) · 1.74 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
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
version: 2
project_name: Oasis Web3 Gateway
before:
hooks:
- go mod tidy
builds:
- binary: oasis-web3-gateway
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -buildid=
- "{{.Env.GOLDFLAGS_VERSION}}"
goos:
- linux
goarch:
- amd64
archives:
- name_template: "{{replace .ProjectName \" \" \"_\" | tolower}}_{{.Version}}_{{.Os}}_{{.Arch}}"
wrap_in_directory: true
checksum:
name_template: SHA256SUMS-{{.Version}}.txt
algorithm: sha256
git:
# Pick the latest tag if there are multiple tags on the same commit:
# https://github.com/goreleaser/goreleaser/issues/4209#issuecomment-1651570723
tag_sort: '-version:creatordate'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
use: github
filters:
exclude:
- Merge pull request
- Merge remote-tracking branch
- Merge branch
groups:
- title: Breaking changes
regexp: "^.*breaks[(\\w)]*:+.*$"
order: 0
- title: New Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 5
- title: Bug fixes
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Dependencies updates
regexp: "^.*deps[(\\w)]*:+.*$"
order: 500
- title: Other changes
order: 999
release:
name_template: "{{.ProjectName}} {{.Version}}"
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1.
prerelease: auto
footer: |
**Full Changelog**: https://github.com/oasisprotocol/oasis-web3-gateway/compare/{{ .PreviousTag }}...{{ .Tag }}
### Running the gateway
https://github.com/oasisprotocol/oasis-web3-gateway/blob/{{ .Tag }}/README.md#running-the-gateway-on-testnetmainnet