-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
136 lines (125 loc) · 3.03 KB
/
.goreleaser.yaml
File metadata and controls
136 lines (125 loc) · 3.03 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
project_name: shai
version: 2
before:
hooks:
- go mod tidy
- go test ./...
builds:
- id: shai
binary: shai
main: ./cmd/shai
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
archives:
- id: default
formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- README.md
- LICENSE
- docs/*
checksum:
name_template: 'checksums.txt'
algorithm: sha256
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
- 'typo'
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Bug Fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
release:
github:
owner: colony-2
name: shai
draft: false
prerelease: auto
mode: replace
header: |
## Shai {{.Version}}
Release of Shai sandbox orchestrator.
footer: |
**Full Changelog**: https://github.com/colony-2/shai/compare/{{ .PreviousTag }}...{{ .Tag }}
notarize:
macos:
- enabled: '{{ isEnvSet "MACOS_SIGN_P12" }}'
ids:
- shai
sign:
# Path to the .p12 file or its base64 content
certificate: "{{.Env.MACOS_SIGN_P12}}"
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
notarize:
issuer_id: "{{.Env.APPLE_API_ISSUER}}"
key_id: "{{.Env.APPLE_API_KEY_ID}}"
# Path to the .p8 key file or its content
key: "{{.Env.APPLE_API_KEY}}"
# Wait for the notarization to finish (required for a valid release)
wait: true
# npm publishing - GoReleaser Pro feature
npms:
- name: "@colony2/shai"
homepage: https://github.com/colony-2/shai
description: Sandboxing shell for running AI coding agents inside Docker containers
license: MIT
extra:
author:
name: Colony 2
email: noreply@colony2.com
keywords:
- sandbox
- docker
- ai
- agent
- cli
- security
repository:
type: git
url: git+https://github.com/colony-2/shai.git
bugs:
url: https://github.com/colony-2/shai/issues
engines:
node: ">=14.0.0"
# Homebrew tap publishing
homebrew_casks:
- name: shai
repository:
owner: colony-2
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: colony2-bot
email: bot@colony2.com
commit_msg_template: "Cask update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/colony-2/shai"
description: "Sandboxing shell for running AI coding agents inside Docker containers"
license: "MIT"