-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
95 lines (88 loc) · 1.97 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
85
86
87
88
89
90
91
92
93
94
95
# http://goreleaser.com
before:
hooks:
- 'go mod tidy'
builds:
- id: 'default'
binary: 'chronic'
goos:
- 'freebsd'
- 'openbsd'
- 'solaris'
- 'windows'
- 'linux'
- 'darwin'
goarch:
- 'amd64'
- '386'
- 'arm'
- 'arm64'
ignore:
- goos: 'darwin'
goarch: '386'
- goos: 'freebsd'
goarch: 'arm64'
env:
- CGO_ENABLED=0
- id: homebrew
binary: chronic
goos:
- 'linux'
- 'darwin'
goarch:
- 'amd64'
- 'arm64'
archives:
- id: default
builds: [default]
format: binary
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
- id: homebrew
builds: [homebrew]
format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
release:
ids: ["default", "homebrew"]
prerelease: "auto"
brews:
- ids: ["homebrew"]
tap:
owner: docwhat
name: homebrew-tap
commit_author:
name: "Christian Höltje"
email: "[email protected]"
skip_upload: "auto"
folder: "Formula"
homepage: "https://github.com/docwhat/chronic"
description: "A tool that hides output unless the command fails; now in Go!"
test: |
system "#{bin}/chronic"
install: |
bin.install "chronic"
changelog:
sort: asc
filters:
# CHANGELOG worthy:
# feat: add beta sequence
# fix: remove broken confirmation message
# refactor: share logic between 4d3d3d3 and flarhgunnstow
# perf: improved performance of the zabbit
#
# NOISE:
# chore: add Oyster build script
# docs: explain hat wobble
# lint: convert tabs to spaces
# style: convert tabs to spaces
# test: ensure Tayne retains clothing
exclude:
- '(?i)^(ci|build|chore|docs|lint|style|test)\s*[(:]'
- '(?i)typo|thinko'
- Merge pull request
- Merge branch