-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
46 lines (46 loc) · 1.08 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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/oax/main.go
binary: oax
ldflags:
- -s -w -X github.com/shuntaka9576/oax/cli.Version={{ .Version }} -X github.com/shuntaka9576/oax/cli.Revision={{ .ShortCommit }}
goos:
- linux
- darwin
ignore:
- goarch: 386
- goarch: arm64
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
tap:
owner: shuntaka9576
name: homebrew-tap
token: "{{ .Env.GITHUB_TOKEN }}"
url_template: "https://github.com/shuntaka9576/oax/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: [email protected]
homepage: "https://blog.hozi.dev/"
folder: Formula
description: "CLI for OpenAI's ChatGPT"
test: |
system "#{bin}/oax --help"
install: |
bin.install "oax"