This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.goreleaser.yml
66 lines (59 loc) Β· 1.56 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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -s -w
- -X github.com/arrow2nd/nekome/v2/app.version={{.Version}}
- -X github.com/arrow2nd/nekome/v2/api.consumerToken={{.Env.CONSUMER_TOKEN}}
- -X github.com/arrow2nd/nekome/v2/api.consumerSecret={{.Env.CONSUMER_SECRET}}
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
brews:
- name: nekome
tap:
owner: arrow2nd
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
url_template: "https://github.com/arrow2nd/nekome/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
folder: Formula
homepage: "https://arrow2nd.com/works/nekome"
description: "TUI Twitter client π"
license: "MIT"
test: |
system "#{bin}/nekome -v"
install: |
bin.install "nekome"
scoop:
bucket:
owner: arrow2nd
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
url_template: "https://github.com/arrow2nd/nekome/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://arrow2nd.com/works/nekome"
description: "TUI Twitter client π"
license: "MIT"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"