1
- # This is an example .goreleaser.yml file with some sensible defaults.
2
- # Make sure to check the documentation at https://goreleaser.com
1
+ version : 1
2
+
3
3
before :
4
4
hooks :
5
- # You may remove this if you don't use go modules.
6
5
- go mod tidy
6
+
7
7
builds :
8
8
- env :
9
9
- CGO_ENABLED=0
@@ -17,24 +17,25 @@ builds:
17
17
18
18
archives :
19
19
- format : tar.gz
20
- # this name template makes the OS and Arch compatible with the results of uname.
20
+ # this name template makes the OS and Arch compatible with the results of ` uname` .
21
21
name_template : >-
22
22
{{ .ProjectName }}_
23
23
{{- title .Os }}_
24
24
{{- if eq .Arch "amd64" }}x86_64
25
25
{{- else if eq .Arch "386" }}i386
26
26
{{- else }}{{ .Arch }}{{ end }}
27
27
{{- if .Arm }}v{{ .Arm }}{{ end }}
28
- checksum :
29
- name_template : ' checksums.txt '
30
- snapshot :
31
- name_template : " {{ incpatch .Version }}-next "
28
+ # Only include binary in archive
29
+ files :
30
+ - none*
31
+
32
32
changelog :
33
33
sort : asc
34
34
filters :
35
35
exclude :
36
- - ' ^docs:'
37
- - ' ^test:'
36
+ - " ^docs:"
37
+ - " ^test:"
38
+
38
39
brews :
39
40
- repository :
40
41
owner : umlx5h
@@ -44,7 +45,14 @@ brews:
44
45
description : " Automatically generate zsh completions from man page"
45
46
license : " MIT"
46
47
47
- # The lines beneath this are called `modelines`. See `:help modeline`
48
- # Feel free to remove those if you don't want/use them.
49
- # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
50
- # vim: set ts=2 sw=2 tw=0 fo=cnqoj
48
+ aurs :
49
+ -
50
+ name : zsh-manpage-completion-generator-bin
51
+ homepage : " https://github.com/umlx5h/zsh-manpage-completion-generator"
52
+ description : " Automatically generate zsh completions from man page"
53
+ license : " MIT"
54
+ private_key : ' {{ .Env.AUR_KEY }}'
55
+ git_url : ' ssh://aur@aur.archlinux.org/zsh-manpage-completion-generator-bin.git'
56
+ package : |-
57
+ # bin
58
+ install -Dm755 "./zsh-manpage-completion-generator" "${pkgdir}/usr/bin/zsh-manpage-completion-generator"
0 commit comments