-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
84 lines (84 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
before:
hooks:
- go mod download
- go mod tidy
builds:
-
id: evry-linux
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- -s -w -X github.com/k1LoW/evry.version={{.Version}} -X github.com/k1LoW/evry.commit={{.FullCommit}} -X github.com/k1LoW/evry.date={{.Date}} -X github.com/k1LoW/evry/version.Version={{.Version}}
-
id: evry-darwin
env:
- CGO_ENABLED=0
goos:
- darwin
ldflags:
- -s -w -X github.com/k1LoW/evry.version={{.Version}} -X github.com/k1LoW/evry.commit={{.FullCommit}} -X github.com/k1LoW/evry.date={{.Date}} -X github.com/k1LoW/evry/version.Version={{.Version}}
archives:
-
id: evry-archive
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: darwin
format: zip
files:
- CREDITS
- README.md
- CHANGELOG.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
dockers:
-
goos: linux
goarch: amd64
image_templates:
- 'ghcr.io/k1low/evry:v{{ .Version }}'
- 'ghcr.io/k1low/evry:latest'
dockerfile: Dockerfile
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/k1LoW/evry"
extra_files:
- scripts/entrypoint.sh
brews:
-
name: evry
ids:
- evry-archive
tap:
owner: k1LoW
name: homebrew-tap
commit_author:
name: k1LoW
email: k1lowxb@gmail.com
homepage: https://github.com/k1LoW/evry
description: evry split STDIN stream and execute specified command every N lines/seconds.
license: MIT
nfpms:
- id: evry-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- evry-linux
homepage: https://github.com/k1LoW/evry
maintainer: Ken'ichiro Oyama <k1lowxb@gmail.com>
description: evry split STDIN stream and execute specified command every N lines/seconds
license: MIT
formats:
- apk
- deb
- rpm
bindir: /usr/bin
epoch: 1