-
Notifications
You must be signed in to change notification settings - Fork 14
/
.goreleaser.yml
70 lines (61 loc) · 1.44 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
project_name: 'mmdbinspect'
version: 2
env:
- 'GO111MODULE=on'
before:
hooks:
- 'go mod tidy'
builds:
- id: 'mmdbinspect'
main: './cmd/mmdbinspect/main.go'
binary: 'mmdbinspect'
goos:
- 'darwin'
- 'linux'
- 'windows'
ignore:
- goos: 'darwin'
goarch: '386'
archives:
- id: 'mmdbinspect'
builds:
- 'mmdbinspect'
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- 'CHANGELOG.md'
- 'LICENSE-APACHE'
- 'LICENSE-MIT'
- 'README.md'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
disable: true
nfpms:
- id: 'mmdbinspect'
builds:
- 'mmdbinspect'
vendor: 'MaxMind, Inc.'
homepage: 'https://www.maxmind.com/'
maintainer: 'MaxMind, Inc. <support@maxmind.com>'
description: 'Program to look up records for one or more IPs/networks in one or more .mmdb databases.'
license: 'Apache 2.0 or MIT'
formats:
- 'deb'
- 'rpm'
bindir: '/usr/bin'
contents:
- src: 'CHANGELOG.md'
dst: '/usr/share/doc/mmdbinspect/CHANGELOG.md'
- src: 'LICENSE-APACHE'
dst: '/usr/share/doc/mmdbinspect/LICENSE-APACHE'
- src: 'LICENSE-MIT'
dst: '/usr/share/doc/mmdbinspect/LICENSE-MIT'
- src: 'README.md'
dst: '/usr/share/doc/mmdbinspect/README.md'
release:
target_commitish: "{{ .FullCommit }}"