-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.goreleaser.yml
56 lines (56 loc) · 1.29 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
project_name: flow-indexer
release:
github:
owner: JustinAzoff
name: flow-indexer
name_template: '{{.Tag}}'
builds:
- goos:
- linux
- darwin
goarch:
- amd64
goarm:
- "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: flow-indexer
archive:
wrap_in_directory: true
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
nfpm:
description: Flow-Indexer indexes flows found in chunked log files from bro,nfdump,syslog, or pcap files
license: MIT
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
bindir: /usr/bin
homepage: https://github.com/justinazoff/flow-indexer
maintainer: Justin Azoff <justin.azoff@gmail.com>
formats:
- deb
- rpm
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: checksum
env_files:
github_token: ~/.config/goreleaser/github_token