-
-
Notifications
You must be signed in to change notification settings - Fork 178
/
.goreleaser.yml
103 lines (92 loc) · 2.51 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
95
96
97
98
99
100
101
102
103
# Make sure to check the documentation at http://goreleaser.com
# Snapcraft credentials
# snapcraft export-login --snaps=graphjin --channels=stable --acls=package_access,package_push,package_update,package_release credential
# GPG Key
# gpg --armor --export-secret-key <email> | pbcopy
before:
hooks:
- go mod download
- make gen
builds:
- main: ./cmd
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .Commit }}
- -X main.date={{ .Date }}
- -X github.com/dosco/graphjin/serv/v3.version={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
signs:
- artifacts: checksum
args:
[
"--batch",
"-u",
"{{ .Env.GPG_FINGERPRINT }}",
"--output",
"${signature}",
"--detach-sign",
"${artifact}",
]
archives:
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- Merge pull request
- Merge branch
- go mod tidy
nfpms:
- homepage: https://graphjin.com
description: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler."
license: Apache-2.0
maintainer: Vikram Rangnekar (https://twitter.com/dosco)
formats:
- deb
- rpm
brews:
- tap:
owner: dosco
name: homebrew-graphjin
folder: Formula
homepage: https://graphjin.com
description: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler."
license: Apache-2.0
skip_upload: auto
scoop:
bucket:
owner: dosco
name: graphjin-scoop
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://graphjin.com
description: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler."
license: Apache-2.0
# snapcrafts:
# - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# summary: "Build APIs in 5 minutes. An automagical GraphQL to SQL compiler"
# description: |
# GraphJin gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically compiled into an efficient SQL query. Use it either as a library or a standalone service.
# apps:
# graphjin:
# plugs: ["home", "network", "network-bind"]
# grade: stable
# confinement: strict
# publish: true
# license: Apache-2.0
# base: core18