-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.goreleaser.yml
More file actions
117 lines (106 loc) · 2.85 KB
/
Copy path.goreleaser.yml
File metadata and controls
117 lines (106 loc) · 2.85 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
version: 2
project_name: tracker
before:
hooks:
- go mod tidy
- make fmt-check
- make vet
- make test-short
builds:
- id: tracker
binary: tracker
main: ./cmd/tracker
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
# Stamp the same runtime identity tuple the local Make build injects
# (main.version/commit/date). Without these, a goreleaser binary reports
# `dev`/`unknown`/`unknown` — false provenance that also disables
# `tracker update` and the update-check hint. See SIFT-SUB-15-01 (#593).
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .ShortCommit }}
- -X main.date={{ .Date }}
- id: tracker-conformance
binary: tracker-conformance
main: ./cmd/tracker-conformance
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w
archives:
- id: tracker
ids:
- tracker
formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_tracker_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
- id: tracker-conformance
ids:
- tracker-conformance
formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_tracker-conformance_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
brews:
- ids:
- tracker
# Don't push prereleases (rc/beta/alpha) or snapshots to the Homebrew tap —
# stable `brew upgrade` users must not receive a release candidate. The
# final (non-prerelease) tag publishes the formula.
skip_upload: "auto"
repository:
owner: 2389-research
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
homepage: https://github.com/2389-research/tracker
description: "Pipeline orchestration engine for multi-agent LLM workflows"
license: MIT
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
install: |
bin.install "tracker"
test: |
# Assert the shipped binary reports its stamped identity, not a `dev`
# build (SIFT-SUB-15-01 #593): the ldflags above must inject
# main.version/commit/date into every published archive.
output = shell_output("#{bin}/tracker version")
assert_match "tracker #{version}", output
refute_match "commit: unknown", output
refute_match "built: unknown", output
release:
# Mark a tag carrying a prerelease segment (e.g. v0.46.0-rc1) as a GitHub
# prerelease so it does not become "Latest". A plain vX.Y.Z tag is a full release.
prerelease: auto
checksum:
name_template: checksums.txt
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
groups:
- title: Features
regexp: '^feat'
- title: Fixes
regexp: '^fix'
- title: Other
order: 999