forked from tsuru/tsuru-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser.yml
40 lines (34 loc) · 815 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
# goreleaser.yml
# Build customization
build:
main: ./tsuru/main.go
binary_name: tsuru
goos:
- windows
- darwin
- linux
goarch:
- amd64
# Archive customization
archive:
name_template: "{{.BinaryName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
format: tar.gz
replacements:
darwin: macOS
files:
- misc/bash-completion
- misc/zsh-completion
# Mac OS Homebrew
brew:
# Reporitory to push the tap to.
repo: tsuru/homebrew-tsuru
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
# Only use brew for stable releases
version_match: '^[0-9\.]+$'
# Custom install
install: |
bin.install "tsuru"
bash_completion.install "misc/bash-completion" => "tsuru"
zsh_completion.install "misc/zsh-completion" => "tsuru"