-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.goreleaser.yaml
108 lines (95 loc) · 2.59 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
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
97
98
99
100
101
102
103
104
105
106
107
108
project_name: gateway
before:
hooks:
- make test
release:
prerelease: auto
footer: |
## More? 🚀
- Join our [Discord server](https://discord.gg/yxV58ydzV7)
- Follow us on [Twitter](https://twitter.com/_missingstudio)
builds:
- id: gateway
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
binary: gateway
dir: ./gateway
main: ./
ldflags:
- -s -w -X github.com/missinstudio/ai/gateway/config.Version={{.Tag}}
- -X github.com/missinstudio/ai/gateway/config.BuildCommit={{.FullCommit}}
- -X github.com/missinstudio/ai/gateway/config.BuildDate={{.Date}}
env:
- CGO_ENABLED=0
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:"
- "^build"
- "^chore"
checksum:
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
dockers:
- goos: linux
goarch: amd64
ids:
- gateway
dockerfile: Dockerfile
image_templates:
- "docker.io/missingstudio/{{.ProjectName}}:latest"
- "docker.io/missingstudio/{{.ProjectName}}:{{ .Tag }}"
- "docker.io/missingstudio/{{.ProjectName}}:{{ .Tag }}-amd64"
- goos: linux
goarch: arm64
ids:
- gateway
dockerfile: Dockerfile
image_templates:
- "docker.io/missingstudio/{{.ProjectName}}:{{ .Tag }}-arm64"
brews:
- name: gateway
homepage: https://github.com/missingstudio/gateway
description: A robust cloud-native AI Gateway
repository:
owner: missingstudio
name: homebrew-tap
license: Apache 2.0
folder: Formula
dependencies:
- name: git
install: |-
bin.install "gateway"
commit_author:
name: Missing studio
email: [email protected]
scoops:
- homepage: https://github.com/raystack/gateway
description: A robust cloud-native AI Gateway
license: Apache 2.0
repository:
owner: missingstudio
name: scoop-bucket
announce:
skip: "{{gt .Patch 0}}"
discord:
enabled: true
message_template: '**📦 New Release: AI Gateway {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'
author: 'Missing studio - An AI studio'