Repository navigation
Expand file tree
/
Copy path.goreleaser.yml
More file actions
101 lines (89 loc) · 1.99 KB
/
Copy path.goreleaser.yml
File metadata and controls
101 lines (89 loc) · 1.99 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
version: 2
project_name: file-search
release:
mode: keep-existing
before:
hooks:
- go mod tidy
- ./scripts/generate_windows_config.sh
builds:
- id: default
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }}
mod_timestamp: "{{ .CommitTimestamp }}"
- id: windows
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }}
mod_timestamp: "{{ .CommitTimestamp }}"
sboms:
- artifacts: archive
- id: source
artifacts: source
archives:
- id: nix
ids:
- default
formats: ['tar.gz']
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .Os }}.
{{- if eq .Arch "amd64" }}x64
{{- else if eq .Arch "arm64" }}arm64
{{- else }}{{ .Arch }}{{ end }}.
{{- .ProjectName }}
files:
- gemini-extension.json
- GEMINI.file-search.md
- id: windows
ids:
- windows
formats: ['zip']
name_template: >-
{{ .Os }}.
{{- if eq .Arch "amd64" }}x64
{{- else if eq .Arch "arm64" }}arm64
{{- else }}{{ .Arch }}{{ end }}.
{{- .ProjectName }}
files:
- src: gemini-extension.windows.json
dst: gemini-extension.json
- GEMINI.file-search.md
checksum:
name_template: 'checksums.txt'
signs:
- cmd: cosign
signature: '${artifact}.sigstore.json'
args:
- sign-blob
- '--bundle=${signature}'
- '${artifact}'
- "--yes" # needed on cosign 2.0.0+
artifacts: checksum
output: true
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'