forked from flyteorg/flyteadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
51 lines (48 loc) · 1.26 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
project_name: flyteadmin
before:
hooks:
- go mod download
builds:
- id: flyteadmin
env:
- CGO_ENABLED=0
main: ./cmd/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: flyteadmin
goos:
- linux
- windows
- darwin
- id: flytescheduler
env:
- CGO_ENABLED=0
main: ./cmd/scheduler/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: flytescheduler
goos:
- linux
- windows
- darwin
archives:
- id: flyteadmin-archive
name_template: |-
flyteadmin_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- flyteadmin
- flytescheduler
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'