-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yml
94 lines (82 loc) · 2.6 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
project_name: honu
dist: dist
builds:
# Define multiple builds as a yaml list, specify by a unique id
- id: "cmd-honudb-build"
dir: .
main: ./cmd/honudb
binary: honudb
flags:
- -v
ldflags: -s -w -X github.com/rotationalio/honu.GitVersion={{.Commit}} -X github.com/rotationalio/honu.BuildDate={{.Date}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goarm:
- "6"
ignore:
- goos: linux
goarch: arm64
- goos: darwin
goarch: amd64
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: "honu-archive-tgz"
format: tar.gz
builds:
- "cmd-honudb-build"
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
files:
- LICENSE
- README.md
# Publish the release on GitHub
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
# Valid options are either github, gitlab or gitea
github:
owner: rotationalio
name: honu
# You can change the name of the release.
name_template: 'Honu v{{.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
# If set to true, will mark the release as not ready for production.
prerelease: auto
# Header for the release body.
header: |
[TODO: describe release]
# Footer for the release body.
footer: |
### About
The Honu Database is an eventually consistent replicated document database that
is intended for large systems that are distributed globally. Honu uses reinforcement
learning with anti-entropy replication to enhance consistency and decrease costs.
Honu provides data governance with access controls, privacy, and provenance tracking
so that the use of your database complies with laws like GDPR.
# If set to true, will not auto-publish the release.
disable: false
changelog:
filters:
# Commit messages matching the regexp listed here will be removed from the changelog
exclude:
- (?i)typo
- (?i)^f$
# Store signed source code with release
source:
enabled: true
format: 'zip'
name_template: '{{ .ProjectName }}_v{{ .Version }}_source'
# Used to validate if downloaded files are correct
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
algorithm: sha256
signs:
- artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]