-
Notifications
You must be signed in to change notification settings - Fork 21
/
.goreleaser.yml
93 lines (79 loc) · 2.45 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
- go vet
builds:
- goos:
- linux
- windows
- darwin
ldflags:
- -s -w -X github.com/brittonhayes/pillager/internal/commands/version.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
- -X main.builtBy=goreleaser
main: "./cmd/pillager"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^images:"
- "^_examples:"
scoop:
# Template for the url which is determined by the given Token (github or gitlab)
url_template: "https://github.com/brittonhayes/pillager/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Repository to push the app manifest to.
bucket:
owner: brittonhayes
name: pillager-scoop
commit_author:
name: goreleaserbot
email: [email protected]
# The project name and current git tag are used in the format string.
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
# Your app's description.
# Default is empty.
description: "Pillage filesystems for sensitive information"
# Your app's license
# Default is empty.
license: MIT
brews:
- # Name template of the recipe
# Default to project name
name: pillager
# GOARM to specify which 32-bit arm version to use if there are multiple versions
# from the build section. Brew formulas support atm only one 32-bit version.
# Default is 6 for all artifacts or each id if there a multiple versions.
goarm: "6"
# GitHub/GitLab repository to push the formula to
# Gitea is not supported yet, but the support coming
tap:
owner: brittonhayes
name: homebrew-pillager
url_template: "https://github.com/brittonhayes/pillager/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: [email protected]
# Your app's homepage.
# Default is empty.
homepage: "https://github.com/brittonhayes/pillager"
# Your app's description.
# Default is empty.
description: "Pillage filesystems for sensitive information"
license: "MIT"