-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy path.goreleaser.yml
More file actions
95 lines (88 loc) · 2.4 KB
/
Copy path.goreleaser.yml
File metadata and controls
95 lines (88 loc) · 2.4 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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
before:
hooks:
- go mod tidy
builds:
- id: mnemon
main: .
binary: mnemon
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/mnemon-dev/mnemon/cmd.version={{.Version}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
archives:
- id: default
ids:
- mnemon
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
- "^Merge"
- "(?i)eval"
- "(?i)codex app-server"
- "(?i)skill loop"
- "(?i)memory loop"
- "(?i)modular"
- "(?i)self-evolution"
- "(?i)agent memory"
homebrew_casks:
- name: mnemon
ids:
- default
binaries:
- mnemon
repository:
owner: mnemon-dev
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
homepage: "https://github.com/mnemon-dev/mnemon"
description: "Persistent memory and durable agency for LLM agents"
# The binary is ad hoc/linker-signed only (not notarized), so the cask
# download carries com.apple.quarantine and Gatekeeper kills the first
# launch. Strip the attribute from the staged binary so the user needs no
# manual step.
#
# `hooks.post.install` renders a `postflight do ... end` block, which
# Homebrew deprecates in favor of the declarative `postflight_steps` DSL
# (goreleaser/goreleaser#6870). Until GoReleaser ships a steps-aware hook
# (goreleaser/goreleaser#6873), emit the stanza through `custom_block`.
# The `{{ "{{staged_path}}" }}` quoting escapes GoReleaser's own template
# pass so Homebrew's `{{staged_path}}` install-steps token survives into
# the generated cask.
custom_block: |
postflight_steps do
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ "{{staged_path}}" }}/mnemon"]
end
end
release:
github:
owner: mnemon-dev
name: mnemon
draft: false
prerelease: auto
name_template: "v{{.Version}}"
header: |
v{{.Version}} ships Mnemon Memory and the local Agency authority in one `mnemon` binary.