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