-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yml
More file actions
102 lines (94 loc) · 1.92 KB
/
.goreleaser.yml
File metadata and controls
102 lines (94 loc) · 1.92 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
version: 2
# TODO enable
#upx:
# - enabled: true
builds:
# TODO update
# -
# id: "research"
# env:
# - CGO_ENABLED=0
# - GO111MODULE=on
# - SECAI_ID=aigent-research
# goos:
# - linux
# - darwin
# - windows
# goarch:
# - amd64
# - arm64
# main: ./examples/research/cmd
# binary: aigent-research
# ldflags:
# - -s -w # Remove debug info, strip symbols (common optimization)
# - -X main.id=aigent-research
-
id: "cook"
env:
- CGO_ENABLED=0
- GO111MODULE=on
- SECAI_ID=aigent-cook
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
main: ./cmd
dir: examples/cook
binary: aigent-cook
hooks:
pre:
- mkdir -p ./tmp/cook
- cp -f ./examples/cook/config.tpl.kdl ./tmp/cook/config.kdl 2>/dev/null
# check deps
- test -s ./examples/cook/web/app.wasm
- test -s ./examples/cook/web/assets/deps/chart.js
archives:
# TODO update
# -
# id: "aigent-research"
# format: tar.gz
# name_template: "aigent-research_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# # dont add readmes etc
# files: [""]
# builds:
# - research
-
id: "aigent-cook"
format: zip
name_template: "aigent-cook_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- 'LICENSE.md'
- src: 'tmp/cook/config.kdl'
dst: "."
strip_parent: true
- src: 'examples/cook/README.md'
dst: '.'
strip_parent: true
wrap_in_directory: true
builds:
- cook
checksum:
name_template: 'checksums.txt'
release:
github:
owner: pancsta
name: secai
draft: true
replace_existing_draft: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
- '^refactor:'
- '^style:'
- '^ci:'
- '^perf:'
- '^revert:'
snapshot:
name_template: "{{ .Tag }}-next"