-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
67 lines (67 loc) · 1.38 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
58
59
60
61
62
63
64
65
66
67
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- main: main.go
binary: ambarictl
goos:
- linux
goarch:
- amd64
ldflags:
- -s -X main.Version={{.Version}} -X main.GitRevString={{.Commit}}
env:
- CGO_ENABLED=0
- main: main.go
binary: ambarictl
goos:
- darwin
goarch:
- amd64
ldflags:
- -s -X main.Version={{.Version}} -X main.GitRevString={{.Commit}}
env:
- CGO_ENABLED=0
- main: main.go
binary: ambarictl
goos:
- windows
goarch:
- amd64
ldflags:
- -s -X main.Version={{.Version}} -X main.GitRevString={{.Commit}}
env:
- CGO_ENABLED=0
archive:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'SHA256.txt'
snapshot:
name_template: SNAPSHOT-{{.Commit}}
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brew:
name: ambarictl
github:
owner: oleewere
name: homebrew-repo
commit_author:
name: oleewere
email: [email protected]
folder: Formula
homepage: "https://github.com/oleewere"
description: "Software to manage multiple Ambari servers."
test: |
system "#{bin}/ambarctl --version"
install: |
bin.install "ambarictl"