-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
71 lines (64 loc) · 1.67 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
project_name: teller
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/teller
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
binary: teller
ldflags:
- "-X 'main.Version={{ .Tag }}'"
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{- .Os }}_{{- .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: teller
repository:
owner: hashhavoc
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/hashhavoc/teller"
description: "CLI for STX"
# NOTE: We are using .Version instead of .Tag because homebrew has weird semver parsing rules and won't be able to
# install versioned releases that has a `v` character before the version number.
- name: "teller@{{ .Version }}"
repository:
owner: hashhavoc
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} versioned release {{ .Tag }}"
homepage: "https://github.com/hashhavoc/teller"
description: "CLI for STX"
release:
draft: false
target_commitish: "{{ .Commit }}"
prerelease: auto
mode: replace
header: |
## Teller `{{ .Tag }}` released!
footer: |
Your PRs & issues are welcome!
disable: false
skip_upload: false