-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
57 lines (57 loc) · 1.34 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
52
53
54
55
56
57
# For details, see the GoReleaser documentation at http://goreleaser.com
project_name: synse
before:
hooks:
- go mod download
builds:
-
main: ./cmd/synse.go
env:
- CGO_ENABLED=0
ldflags:
- -w
- -X github.com/vapor-ware/synse-cli/pkg.BuildDate={{ .Date }}
- -X github.com/vapor-ware/synse-cli/pkg.Commit={{ .ShortCommit }}
- -X github.com/vapor-ware/synse-cli/pkg.Tag={{ .Tag }}
- -X github.com/vapor-ware/synse-cli/pkg.GoVersion={{ .Env.GOLANG_VERSION }}
- -X github.com/vapor-ware/synse-cli/pkg.Version={{ .Version }}
goos:
- linux
- darwin
goarch:
- amd64
archives:
- format: tar.gz
brews:
-
repository:
owner: vapor-ware
name: homebrew-formula
commit_author:
name: vio-bot
email: 'marco+viogh@vapor.io'
homepage: 'https://github.com/vapor-ware/synse-cli'
description: "Unified CLI for Vapor IO's Synse platform."
test: |
system "#{bin}/synse version"
checksum:
name_template: 'checksums-{{ .Tag }}.txt'
release:
github:
owner: vapor-ware
name: synse-cli
draft: false
prerelease: auto
name_template: "{{ .Version }}"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^wip:'
- '^deps:'
- '^bump:'
- '^typo:'