forked from vmware-archive/octant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (58 loc) · 1.33 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
release:
draft: true
prerelease: auto
project_name: octant
builds:
-
main: ./cmd/octant/main.go
binary: octant
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
flags:
- -tags=embedded
ldflags: -X "main.buildTime={{.Date}}" -X "main.gitCommit={{.Commit}}" -X "main.version={{.Version}}"
nfpms:
-
formats:
- deb
- rpm
vendor: "VMware"
homepage: "https://github.com/vmware-tanzu/octant"
maintainer: Octant Maintainers <project-octant@googlegroups.com>
description: "A highly extensible platform for developers to better understand the complexity of Kubernetes clusters"
license: "Apache 2.0"
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: 64bit
arm: ARM
arm64: ARM64
archives:
-
wrap_in_directory: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: 64bit
files:
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: SNAPSHOT-{{.Commit}}