forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
99 lines (89 loc) · 2.41 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: 2
before:
hooks:
- go mod tidy
- make deps:playground
builds:
- id: "defradb"
main: ./cmd/defradb
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
# A build with the playground included.
- id: "defradb_playground"
main: ./cmd/defradb
flags:
- -tags=playground
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
partial:
by: target
archives:
- id: defradb_playground
builds:
- defradb_playground
format: binary
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .Binary }}_playground_{{ .Version }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
- id: defradb
builds:
- defradb
format: binary
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .Binary }}_{{ .Version }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
release:
target_commitish: '{{ .Commit }}'
header: >
DefraDB v{{ .Major }}.{{ .Minor }} is a major pre-production release.
Until the stable version 1.0 is reached, the SemVer minor patch number will denote notable releases,
which will give the project freedom to experiment and explore potentially breaking changes.
To get a full outline of the changes, we invite you to review the official changelog below.
This release does include a Breaking Change to existing v{{ .Major }}.{{ .Minor }}.x databases.
If you need help migrating an existing deployment, reach out at [email protected] or join
our Discord at https://discord.gg/w7jYQVJ/.
name_template: "v{{ .Version }} Release"
changelog:
sort: asc
abbrev: -1
groups:
- title: Features
regexp: '^feat:.*'
order: 0
- title: Fix
regexp: '^fix:.*'
order: 1
- title: Tooling
regexp: '^tools:.*'
order: 2
- title: Documentation
regexp: '^docs:.*'
order: 3
- title: Refactoring
regexp: '^refactor:.*'
order: 4
- title: Testing
regexp: '^test:.*'
order: 5
source:
enabled: true
milestones:
- close: true
fail_on_error: false
name_template: "DefraDB v{{ .Major }}.{{ .Minor }}"