generated from octomation/go-tool
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
62 lines (53 loc) · 1.41 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
---
project_name: maintainer
archives:
- id: maintainer
files:
- LICENSE
format: tar.gz
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
rlcp: true
brews:
- name: maintainer
caveats: ''
commit_author:
name: Kamil Samigullin
email: kamil@samigullin.info
description: Maintainer is an indispensable assistant to Open Source contribution.
folder: Formula
homepage: https://github.com/octomation/maintainer
tap:
owner: octolab
name: homebrew-tap
install: |
bin.install "maintainer"
output = Utils.popen_read("#{bin}/maintainer completion bash")
(bash_completion/"maintainer").write output
output = Utils.popen_read("#{bin}/maintainer completion fish")
(fish_completion/"maintainer.fish").write output
output = Utils.popen_read("#{bin}/maintainer completion zsh")
(zsh_completion/"_maintainer").write output
prefix.install_metafiles
test: |
system "#{bin}/maintainer version"
builds:
- id: maintainer
binary: maintainer
env:
- CGO_ENABLED=0
flags:
- -trimpath
goarch:
- amd64
- arm64
goos:
- darwin
- linux
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
main: .
checksum: { name_template: checksums.txt }
release:
github:
owner: octomation
name: maintainer