-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yaml
49 lines (46 loc) · 1007 Bytes
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/tailer
binary: tailer
ldflags:
- -s -w -X main.version={{.Version}}
tags:
- urfave_cli_no_docs
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macOS
{{- else }}{{ .Os }}{{ end }}_{{ .Arch }}
format_overrides:
- goos: windows
format: zip
nfpms:
- package_name: tailer
file_name_template: "{{ .ConventionalFileName }}"
homepage: https://github.com/hionay/tailer
maintainer: Halil ibrahim Onay <hionay@gmail.com>
description: A simple CLI tool to insert lines when command output stops
license: MIT
formats:
- deb
- rpm
- archlinux
release:
prerelease: auto
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'