-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
58 lines (52 loc) · 1.17 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
project_name: 'xgb2code'
version: 2
builds:
- id: 'xgb2code'
binary: 'xgb2code'
goos:
- 'darwin'
- 'linux'
- 'windows'
ignore:
- goos: 'darwin'
goarch: '386'
archives:
- id: 'xgb2code'
builds:
- 'xgb2code'
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: 'xgb2code'
builds:
- 'xgb2code'
vendor: 'MaxMind, Inc.'
homepage: 'https://www.maxmind.com/'
maintainer: 'MaxMind, Inc. <support@maxmind.com>'
description: 'Generate code for an XGB model.'
license: 'Apache 2.0 or MIT'
formats:
- 'deb'
- 'rpm'
contents:
- src: CHANGELOG.md
dst: /usr/share/doc/xgb2code/CHANGELOG.md
- src: LICENSE-APACHE
dst: /usr/share/doc/xgb2code/LICENSE-APACHE
- src: LICENSE-MIT
dst: /usr/share/doc/xgb2code/LICENSE-MIT
- src: README.md
dst: /usr/share/doc/xgb2code/README.md