-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
64 lines (58 loc) · 1.48 KB
/
.goreleaser.yaml
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
project_name: warden
builds:
- dir: warden
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 7
ldflags:
- -s -w -X github.com/repowarden/cli/warden/cmd.version={{ .Version }}
env:
- CGO_ENABLED=0
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}-v{{ .Version }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}
files:
- LICENSE
- README.md
rlcp: true
nfpms:
- file_name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}"
vendor: "RepoWarden"
homepage: "https://RepoWarden.com"
maintainer: "Ricardo N Feliciano <[email protected]>"
description: "Audit your git repositories based on policy."
license: "MIT"
formats:
- deb
bindir: /usr/bin
brews:
- tap:
owner: repowarden
name: homebrew-tap
commit_author:
name: "Ricardo N Feliciano (FelicianoTech)"
email: "[email protected]"
folder: Formula
homepage: "https://RepoWarden.com"
description: "Audit your git repositories based on policy."
license: "MIT"
test: |
system "#{bin}/warden", "help"
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}-checksums.txt"
announce:
skip: "{{ gt .Patch 0 }}"
mastodon:
enabled: true
server: "https://nanobyte.cafe"