-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
74 lines (62 loc) · 1.88 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
project_name: wally
builds:
- main: ./main.go
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
- arm64
targets:
- darwin_amd64
- darwin_arm64
ldflags:
- -s -w
brews:
-
# Default to project name
name: wally
tap:
owner: ltpquang
name: homebrew-tap
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/-/releases/{{ .Tag }}/downloads/{{ .ArtifactName }}"
# Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
url_template: "https://github.com/ltpquang/wally/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: ltpquang
email: [email protected]
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
# Your app's homepage.
# Default is empty.
homepage: "https://github.com/ltpquang/wally"
# Template of your app's description.
# Default is empty.
description: "Randomly change wallpaper using Unsplash Source"
archives:
- #Replacements for GOOS and GOARCH in the archive name
replacements:
darwin: macOS
amd64: x86_64
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^*.md:"