-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
65 lines (65 loc) · 1.53 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
project_name: daimler-merge
release:
github:
owner: alex-held
name: daimler-merge
brews:
- tap:
owner: alex-held
name: homebrew-tap
folder: Formula
homepage: https://github.com/alex-held/daimler-merge
description: overlapping interval merger
test: |
system "#{bin}/daimler-merge --version"
dependencies:
- name: go
type: optional
- name: git
install: |-
bin.install "daimler-merge"
man1.install "daimler-merge.1"
# bash_completion.install "completions/goreleaser.bash" => "goreleaser"
# zsh_completion.install "completions/goreleaser.zsh" => "_goreleaser"
# fish_completion.install "completions/goreleaser.fish"
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- "386"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: daimler-merge
hooks:
pre: make man
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
- go mod tidy
archives:
- id: gzip
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
- daimler-merge.1
snapshot:
name_template: SNAPSHOT-{{ .Commit }}