-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
57 lines (56 loc) · 1.3 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
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod download
- cp configs/default.toml gh.toml
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/gh/
binary: gh
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- gh.toml
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^build:'
- '^images:'
- '^scripts:'
# https://goreleaser.com/customization/homebrew/
brews:
- tap:
owner: hiromaily
name: homebrew-tap
folder: Formula
description: speak message on Google Home
homepage: https://github.com/hiromaily/go-google-home
install: |
bin.install "gh"
(etc/"google-home").install "gh.toml"
test: |
system "#{bin}/gh -v"
caveats: |
gh has been installed, have fun!
config file has been installed in /usr/local/etc/google-home/gh.toml
please modify these files as you want.
More information:
https://github.com/hiromaily/go-google-home