-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser-linux-amd64.yml
72 lines (66 loc) · 1.68 KB
/
.goreleaser-linux-amd64.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
project_name: confluent
dist: prebuilt
env:
- CGO_ENABLED=1
- GOEXPERIMENT=boringcrypto
builds:
- id: confluent-linux-amd64
binary: confluent
main: cmd/confluent/main.go
flags:
- -mod=vendor
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
gcflags:
- all=-trimpath={{.Env.HOME}}/git
asmflags:
- all=-trimpath={{.Env.HOME}}/git
goos:
- linux
goarch:
- amd64
- id: confluent-linux-amd64-disableupdates
binary: confluent
main: cmd/confluent/main.go
flags:
- -mod=vendor
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.disableUpdates=true
gcflags:
- all=-trimpath={{.Env.HOME}}/git
asmflags:
- all=-trimpath={{.Env.HOME}}/git
goos:
- linux
goarch:
- amd64
nfpms:
- package_name: confluent-cli
file_name_template: "{{ .ConventionalFileName }}"
builds:
- confluent-linux-amd64-disableupdates
vendor: Confluent, Inc.
homepage: https://docs.confluent.io/confluent-cli/current/overview.html
maintainer: Confluent, Inc.
description: CLI for Confluent Cloud and Confluent Platform
license: Confluent Community License Agreement
formats:
- deb
- rpm
contents:
- src: LICENSE
dst: /usr/share/doc/cli/COPYRIGHT
overrides:
rpm:
dependencies:
- libc.so.6(GLIBC_2.17)(64bit)
deb:
signature:
key_file: /run/secrets/deb_gpg_secret_key
rpm:
signature:
key_file: /run/secrets/rpm_gpg_secret_key
release:
disable: true
archives:
- format: binary