-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yml
73 lines (66 loc) · 1.42 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
project_name: 'routesum'
before:
hooks:
- 'go mod download'
- 'go mod tidy'
builds:
- id: 'routesum'
main: './cmd/routesum'
binary: 'routesum'
goarch:
- '386'
- 'amd64'
- 'arm64'
goos:
- 'darwin'
- 'linux'
- 'windows'
ignore:
- goos: 'darwin'
goarch: '386'
- goos: 'linux'
goarch: 'arm64'
- goos: 'windows'
goarch: 'arm64'
archives:
- id: 'routesum'
builds:
- 'routesum'
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x86-64
386: 'i386'
darwin: 'macOS'
wrap_in_directory: true
files:
- 'CHANGELOG.md'
- 'LICENSE.md'
- 'README.md'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
nfpms:
- id: 'routesum'
builds:
- 'routesum'
homepage: 'https://github.com/PatrickCronin/routesum'
maintainer: 'Patrick Cronin <oshihuna@gmail.com>'
description: 'Summarize a list of IPs and networks to its shortest form.'
license: 'MIT'
formats:
- 'deb'
- 'rpm'
bindir: '/usr/bin'
contents:
- src: 'CHANGELOG.md'
dst: '/usr/share/doc/routesum/CHANGELOG.md'
- src: 'LICENSE.md'
dst: '/usr/share/doc/routesum/LICENSE.md'
- src: 'README.md'
dst: '/usr/share/doc/routesum/README.md'