forked from vmware-archive/octant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser-nightly.yml
60 lines (59 loc) · 1.32 KB
/
.goreleaser-nightly.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
release:
disable: true
project_name: octant
builds:
-
main: ./cmd/octant/main.go
binary: octant
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
flags:
- -tags=embedded
ldflags: -X "main.buildTime={{.Date}}" -X "main.gitCommit={{.Commit}}"
nfpms:
-
formats:
- deb
- rpm
vendor: "VMware"
homepage: "https://github.com/vmware-tanzu/octant"
maintainer: Octant Maintainers <[email protected]>
description: "A highly extensible platform for developers to better understand the complexity of Kubernetes clusters"
license: "Apache 2.0"
file_name_template: "{{.ProjectName}}_{{.Date}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: 64bit
archives:
-
wrap_in_directory: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Date}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: 64bit
files:
- LICENSE
- README.md
snapshot:
name_template: 'nightly'
checksum:
name_template: 'checksums.txt'
blobs:
-
provider: gs
bucket: octant-nightlies
folder: "builds/nightlies/{{.Date}}"