-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy path.goreleaser.yml
More file actions
46 lines (38 loc) · 974 Bytes
/
.goreleaser.yml
File metadata and controls
46 lines (38 loc) · 974 Bytes
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
# GoReleaser release config (template).
# This file is intentionally conservative and may require release-time secrets.
version: 2
project_name: berry
dist: dist-goreleaser
release:
draft: true
before:
hooks:
- python -m pip install -U build
- python -m build
# GoReleaser expects build artifacts; enable and adjust when packaging strategy is finalized.
builds:
- id: python-dist
builder: uv
skip: true
archives:
- id: berry
ids: [python-dist]
formats: [zip]
name_template: "berry_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- dist/*
checksum:
name_template: "checksums.txt"
# Sign artifacts with cosign (keyless or key-backed via env).
signs:
- artifacts: checksum
cmd: cosign
args:
- sign-blob
- "--yes"
- "--output-signature"
- "${signature}"
- "${artifact}"
# macOS notarization (requires Apple credentials); enable when distributing signed binaries.
notarize:
macos: []