-
Notifications
You must be signed in to change notification settings - Fork 31
/
.goreleaser.yml
41 lines (41 loc) · 907 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
project_name: astro
archives:
- format_overrides:
- goos: darwin
format: zip
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
before:
hooks:
- go mod download
builds:
- id: astro
binary: astro
main: ./astro/cli/astro/main.go
env:
- GO111MODULE=on
ignore:
- goos: darwin
goarch: 386
ldflags:
- -s -w -X github.com/uber/astro/astro/cli/astro/cmd.version={{.Version}} -X github.com/uber/astro/astro/cli/astro/cmd.commit={{.ShortCommit}} -X github.com/uber/astro/astro/cli/astro/cmd.date={{.Date}}
- id: tvm
binary: tvm
main: ./astro/tvm/cli/tvm/main.go
env:
- GO111MODULE=on
ignore:
- goos: darwin
goarch: 386
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"