forked from flyteorg/flyteadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
43 lines (41 loc) · 948 Bytes
/
.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
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
archives:
- id: flyteadmin-archive
name_template: |-
flyteadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- flyteadmin
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'