-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoreleaser.yaml
More file actions
55 lines (48 loc) · 1.14 KB
/
goreleaser.yaml
File metadata and controls
55 lines (48 loc) · 1.14 KB
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
version: 2
project_name: quantum-auth-client
before:
hooks:
- go mod tidy
builds:
- id: quantum-auth-client
main: ./cmd/quantum-auth-client
binary: quantumauth
env:
- CGO_ENABLED=0
goos: [linux, windows]
goarch: [amd64, arm64]
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Commit={{.Commit}}
- -X main.BuildDate={{.Date}}
archives:
- id: tgz
formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE*
- README*
- id: zip
formats: [ zip ]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE*
- README*
-
nfpms:
- id: deb
package_name: quantum-auth-client
file_name_template: "{{ .PackageName }}_{{ .Version }}_{{ .Arch }}"
vendor: "quantumauth-io"
maintainer: "QuantumAuth <maintainer@quantumauth.io>"
homepage: "https://quantumauth.io"
license: "Apache-2.0"
description: "QuantumAuth client"
formats: [deb]
checksum:
name_template: "checksums.txt"
changelog:
use: github
release:
prerelease: auto