-
Notifications
You must be signed in to change notification settings - Fork 22
/
.goreleaser.yml
61 lines (61 loc) · 1.46 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
project_name: crda
archives:
- files:
- LICENSE
- docs/cli_README.md
replacements:
amd64: 64bit
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
release:
draft: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- typo
- (?i)foo
builds:
- env:
- CGO_ENABLED=0
main: ./main.go
ldflags:
- -s -w -X github.com/fabric8-analytics/cli-tools/pkg/version.version={{.Version}}
- "-X 'github.com/fabric8-analytics/cli-tools/pkg/version.vendorInfo=Red Hat'"
- -X github.com/fabric8-analytics/cli-tools/pkg/segment.writeKey=XVVwgAtJHhr4YiuoFURmycI2oKVD8mxV
- -X github.com/fabric8-analytics/cli-tools/pkg/version.timestamp={{ .Timestamp }}
- -X github.com/fabric8-analytics/cli-tools/pkg/version.commitHash={{ .ShortCommit }}
id: crda
binary: crda
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: linux
goarch: arm64
- goarm: mips64
gomips: hardfloat
nfpms:
- id: crda
vendor: CRDA
maintainer: Deepak Sharma <[email protected]>
description: CLI Tools from team CRDA.
homepage: https://github.com/fabric8-analytics/cli-tools
license: MIT
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
formats:
- deb
- rpm