forked from flyteorg/flytepropeller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
96 lines (89 loc) · 2.52 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
project_name: kubectl-flyte
before:
hooks:
- go mod download
builds:
- id: kubectl-flyte
env:
- CGO_ENABLED=0
main: ./cmd/kubectl-flyte/main.go
binary: kubectl-flyte
goos:
- linux
- windows
- darwin
ldflags:
- -s -w -X github.com/lyft/flytepropeller/version.Version={{.Version}} -X github.com/lyft/flytepropeller/version.Build={{.ShortCommit}} -X github.com/lyft/flytepropeller/version.BuildTime={{.Date}}
- id: flytepropeller
env:
- CGO_ENABLED=0
main: ./cmd/controller/main.go
ldflags:
- -s -w -X github.com/flyteorg/flytestdlib/version.Version={{.Version}} -X github.com/flyteorg/flytestdlib/version.Build={{.ShortCommit}} -X github.com/flyteorg/flytestdlib/version.BuildTime={{.Date}}
binary: flytepropeller
goos:
- linux
- windows
- darwin
archives:
- id: kubectl-flyte-archive
name_template: |-
kubectl-flyte_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- kubectl-flyte
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- id: flytepropeller-archive
name_template: |-
flytepropeller_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- flytepropeller
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# scoop:
# # Default is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# # url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
# # Repository to push the app manifest to.
# bucket:
# owner: lyft
# name: flytepropeller
# # Git author used to commit to the repository.
# # Defaults are shown.
# commit_author:
# name: goreleaserbot
# email: goreleaser@carlosbecker.com
# # Your app's homepage.
# # Default is empty.
# homepage: "https://godoc.org/github.com/lyft/flytepropeller"
# # Your app's description.
# # Default is empty.
# description: "kubectl-flyte is an command line tool that can be used as an extension to kubectl"
# # Your app's license
# # Default is empty.
# license: Apache-2.0