-
Notifications
You must be signed in to change notification settings - Fork 170
/
darwin.yml
45 lines (45 loc) · 915 Bytes
/
darwin.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
version: 2
before:
hooks:
- go mod download
- go mod tidy
builds:
-
id: tbls-darwin
flags:
- -tags
- timetzdata
ldflags:
- -s -w -X github.com/k1LoW/tbls.version={{.Version}} -X github.com/k1LoW/tbls.commit={{.FullCommit}} -X github.com/k1LoW/tbls.date={{.Date}} -X github.com/k1LoW/tbls/version.Version={{.Version}}
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
- arm64
archives:
-
id: tbls-archive
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: darwin
format: zip
files:
- LICENSE
- CREDITS
- README.md
- CHANGELOG.md
checksum:
name_template: 'checksums-darwin.txt'
snapshot:
name_template: "{{ .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
draft: true
skip_upload: true