-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
96 lines (85 loc) · 2.01 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
96
# .goreleaser.yml file
# Copyright (c) 2024 Neomantra Corp
# Documentation at http://goreleaser.com
version: 2
before:
hooks:
- go mod tidy
builds:
- id: ot-ansi-to-png
main: cmd/ot-ansi-to-png/main.go
binary: bin/ot-ansi-to-png
goos:
- linux
- windows
- darwin
- id: ot-model-chooser
main: cmd/ot-model-chooser/main.go
binary: bin/ot-model-chooser
goos:
- linux
- windows
- darwin
- id: ot-png-prompt
main: cmd/ot-png-prompt/main.go
binary: bin/ot-png-prompt
goos:
- linux
- windows
- darwin
- id: ot-simplegen
main: cmd/ot-simplegen/main.go
binary: bin/ot-simplegen
goos:
- linux
- windows
- darwin
- id: ot-timechart
main: cmd/ot-timechart/main.go
binary: bin/ot-timechart
goos:
- linux
- windows
- darwin
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: NimbleMarkets
name: ollamatea
brews:
- homepage: https://github.com/NimbleMarkets/ollamatea
description: "BubbleTea and Ollama components/tools"
directory: Formula
repository:
owner: NimbleMarkets
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: goreleaserbot@nimble.markets
install: |
bin.install "./bin/ot-ansi-to-png"
bin.install "./bin/ot-model-chooser"
bin.install "./bin/ot-png-prompt"
bin.install "./bin/ot-simplegen"
bin.install "./bin/ot-timechart"