-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.goreleaser.yml
46 lines (45 loc) · 1.11 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
project_name: shawk
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- id: "shawk"
main: .
binary: shawk
ldflags:
- -s -w
- -X version.version={{.Version}}
- -X version.commit={{.ShortCommit}}
- -X version.date={{.Date}}
goos:
- linux
goarch:
- amd64
changelog:
skip: true
archives:
- name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
release:
prerelease: auto
nfpms:
- id: "shawk"
package_name: shawk
file_name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
vendor: Yuuki TSUBOUCHI
homepage: https://github.com/yuuki/shawk
maintainer: Yuuki TSUBOUCHI <[email protected]>
description: A socket-based tracing system for discovering network dependencies in distributed applications
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
epoch: 1
empty_folders:
files:
"scripts/systemd/shawk.service": "/etc/systemd/system/multi-user.target.wants/shawk.service"
config_files:
scripts: