-
Notifications
You must be signed in to change notification settings - Fork 235
Expand file tree
/
Copy path.goreleaser.yml
More file actions
179 lines (160 loc) · 3.71 KB
/
.goreleaser.yml
File metadata and controls
179 lines (160 loc) · 3.71 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# GoReleaser v2 configuration
version: 2
project_name: agentfield
before:
hooks:
- npm --prefix control-plane/web/client install --silent
- npm --prefix control-plane/web/client run build --silent
builds:
- id: agentfield-linux-amd64
dir: control-plane
main: ./cmd/af
binary: agentfield-linux-amd64
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .ShortCommit }}
- -X main.date={{ .Date }}
tags:
- embedded
- sqlite_fts5
- id: agentfield-linux-arm64
dir: control-plane
main: ./cmd/af
binary: agentfield-linux-arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
goos:
- linux
goarch:
- arm64
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .ShortCommit }}
- -X main.date={{ .Date }}
tags:
- embedded
- sqlite_fts5
- id: agentfield-darwin-amd64
dir: control-plane
main: ./cmd/af
binary: agentfield-darwin-amd64
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .ShortCommit }}
- -X main.date={{ .Date }}
tags:
- embedded
- sqlite_fts5
- id: agentfield-darwin-arm64
dir: control-plane
main: ./cmd/af
binary: agentfield-darwin-arm64
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- arm64
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .ShortCommit }}
- -X main.date={{ .Date }}
tags:
- embedded
- sqlite_fts5
# Windows build disabled - focus on Linux and macOS for now
# - id: agentfield-windows-amd64
# dir: control-plane
# main: ./cmd/af
# binary: agentfield
# env:
# - CGO_ENABLED=1
# - CC=gcc
# goos:
# - windows
# goarch:
# - amd64
# ldflags:
# - -s -w
# - -X main.version={{ .Version }}
# - -X main.commit={{ .ShortCommit }}
# - -X main.date={{ .Date }}
# tags:
# - embedded
# - sqlite_fts5
# no_unique_dist_dir: true
# Don't create archives - ship raw binaries
archives:
- id: default
builds:
- agentfield-linux-amd64
- agentfield-linux-arm64
- agentfield-darwin-amd64
- agentfield-darwin-arm64
format: binary
name_template: "agentfield-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
github:
owner: Agent-Field
name: agentfield
draft: false
prerelease: auto
name_template: "AgentField v{{ .Version }}"
header: |
## AgentField v{{ .Version }}
### Installation
**Installation:**
```bash
curl -fsSL https://agentfield.ai/install.sh | bash
```
### Version Pinning
```bash
VERSION={{ .Version }} curl -fsSL https://agentfield.ai/install.sh | bash
```
### Manual Download
Download the binary for your platform below, make it executable, and move it to your PATH.
### Supported Platforms
- **macOS Intel:** `agentfield-darwin-amd64`
- **macOS Apple Silicon:** `agentfield-darwin-arm64`
- **Linux x86_64:** `agentfield-linux-amd64`
- **Linux ARM64:** `agentfield-linux-arm64`
changelog:
use: git
sort: asc
abbrev: 0
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Bug Fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
- '^ci:'
- '^style:'