generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
79 lines (69 loc) · 1.42 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
# Goreleaser configuration file
version: 2
project_name: did-resolver
env:
- GO111MODULE=on
before:
hooks:
- make clean
- make tidy
- make swagger
builds:
-
env:
- CGO_ENABLED=0
main: ./
binary: did-resolver
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -mod=readonly
- -trimpath
ldflags:
- -s -w
- -X github.com/cheqd/did-resolver.version={{ .Version }}
- -X github.com/cheqd/did-resolver.Commit={{ .Commit }}
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
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
release:
github:
owner: cheqd
name: did-resolver
draft: false
prerelease: auto
mode: keep-existing
header: |
# Release Notes for {{.ProjectName}} v{{.Version}}