-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yml
76 lines (67 loc) · 1.67 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
68
69
70
71
72
73
74
75
76
project_name: lets
before:
hooks:
- go mod tidy
release:
prerelease: auto
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: linux
goarch: arm64
ldflags:
- -X main.version={{.Version}}
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}Darwin
{{- else if eq .Arch "linux" }}Linux
{{- else }}{{ .Arch }}{{ end }}
brews:
- name: lets
description: "CLI task runner for productive developers - a better alternative to make"
homepage: "https://lets-cli.org/"
license: "MIT"
repository:
owner: lets-cli
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
aurs:
- name: lets-bin
homepage: "https://lets-cli.org/"
description: "CLI task runner for productive developers - a better alternative to make"
license: "MIT"
maintainers:
- 'Kindritskiy Maksym <[email protected]>'
contributors:
- "Luis Martinez <luis dot martinez at disroot dot org>"
private_key: '{{ .Env.AUR_GITHUB_TOKEN }}'
git_url: 'ssh://[email protected]/lets-bin.git'
package: |-
install -Dm755 "./lets-bin" "${pkgdir}/usr/bin/lets"
commit_author:
name: 'Github Action Bot'
email: [email protected]
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: "{{ .Tag }}-{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch