-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
100 lines (89 loc) · 2.14 KB
/
.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
project_name: f1-cli
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
- go mod download
# - ./scripts/completions.sh
gomod:
proxy: true
builds:
- binary: f1
goos:
- linux
- darwin
- windows
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "7"
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -s -w -X github.com/racing-telemetry/f1-cli/internal.Version={{ .Version }} -X github.com/racing-telemetry/f1-cli/cmd.commit={{ .Commit }} -X github.com/racing-telemetry/f1-cli/cmd.date={{ .CommitDate }}
universal_binaries:
- replace: false
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: 'New Features'
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Other work
order: 999
release:
footer: |
**Full Changelog**: https://github.com/racing-telemetry/f1-cli/compare/{{ .PreviousTag }}...{{ .Tag }}
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- completions/*
snapshot:
name_template: '{{ incpatch .Version }}-next'
brews:
- tap:
owner: racing-telemetry
name: homebrew-tap
folder: Formula
goarm: "7"
homepage: https://github.com/racing-telemetry
description: UDP Data Dumper for Formula 1 game
license: Apache
test: |
system "#{bin}/f1 version"
dependencies:
- name: go
type: optional
install: |-
bin.install "f1"
# bash_completion.install "completions/f1.bash" => "f1"
# zsh_completion.install "completions/f1.zsh" => "_f1"
# fish_completion.install "completions/f1.fish"