-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
95 lines (93 loc) · 2.14 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
env:
- CGO_ENABLED=0
- GO111MODULE=on
before:
hooks:
- go mod tidy
- go mod download
builds:
- env:
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
mod_timestamp: '{{ .CommitTimestamp }}'
binary: asap-tools-cli
flags:
- -trimpath
main: ./cmd/asap-tools-cli/main.go
ldflags: >
-s
-X github.com/gebv/asap-tools/version.Version={{.Version}}
-X github.com/gebv/asap-tools/version.GitCommit={{.Commit}}
-X github.com/gebv/asap-tools/version.BuildDate={{.Date}}
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: '{{.Version}}-SNAPSHOT-{{.ShortCommit}}'
release:
footer: |
**Full Changelog**: https://github.com/gebv/asap-tools/compare/{{ .PreviousTag }}...{{ .Tag }}
github:
owner: gebv
name: asap-tools
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: zip
files:
- README.md
- LICENSE
# TODO: add example config
changelog:
sort: asc
use: github
filters:
exclude:
- "^chore:"
- "^chore\\(deps\\):"
- "^docs:"
- "^test:"
- Merge pull request
- Merge branch
- '^MERGE'
- "{{ .Tag }}"
groups:
- title: 'New Features'
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Other work
order: 999
brews:
- name: asap-tools
folder: Formula
tap:
owner: gebv
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
homepage: https://github.com/gebv/asap-tools
description: The asap-tools it is collection of tools to simplify daily monotonous monotonous cases. For syncing tasks between ClickUp teams and more.
license: MIT
test: |
system "#{bin}/asap-tools-cli -v"
install: |
bin.install "asap-tools"