forked from authzed/spicedb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
60 lines (60 loc) · 1.67 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
---
builds:
- main: "./cmd/spicedb"
env:
- "CGO_ENABLED=0"
goos:
- "linux"
- "windows"
- "darwin"
goarch:
- "amd64"
- "arm64"
mod_timestamp: "{{ .CommitTimestamp }}"
ldflags:
- "-s -w"
- "-X {{ .ModulePath }}/internal/version.Version={{ .Version }}"
nfpms:
- vendor: "authzed inc."
homepage: "https://spicedb.io"
maintainer: "authzed <support@authzed.com>"
description: "SpiceDB is a Zanzibar-inspired database that stores, computes, and validates application permissions."
license: "Apache 2.0"
epoch: 0
formats:
- "apk"
- "deb"
- "rpm"
brews:
- tap:
owner: "authzed"
name: "homebrew-tap"
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/authzed/spicedb/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: "CurlDownloadStrategy"
commit_author:
name: "authzedbot"
email: "infrastructure@authzed.com"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://authzed.com/"
description: "SpiceDB is a Zanzibar-inspired database that stores, computes, and validates application permissions."
license: "Apache-2.0"
folder: "Formula"
custom_block: |
head "https://github.com/authzed/spicedb.git", :branch => "main"
dependencies:
- name: "go"
type: "build"
test: |
system "#{bin}/spicedb version"
install: |
bin.install "spicedb"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: "asc"
release:
draft: true
prerelease: "auto"