-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yaml
51 lines (47 loc) · 1.12 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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- id: github
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
files:
- LICENSE*
- README*
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dockers:
- image_templates:
- "frapposelli/wwhrd:latest"
- "frapposelli/wwhrd:{{ .Tag }}"
- "frapposelli/wwhrd:v{{ .Major }}"
goos: linux
goarch: amd64
dockerfile: Dockerfile
brews:
- directory: Formula
repository:
owner: frapposelli
name: homebrew-tap
commit_author:
name: Fabio Rapposelli
email: fabio@rapposelli.org
homepage: "https://github.com/frapposelli/wwhrd/blob/master/README.md"
description: "Have Henry Rollins check vendor licenses in your Go project"
test: |
system "#{bin}/wwhrd -v"
install: |
bin.install "wwhrd"