-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
75 lines (68 loc) · 1.54 KB
/
Copy path.goreleaser.yaml
File metadata and controls
75 lines (68 loc) · 1.54 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
version: 2
project_name: sarde
builds:
- main: ./cmd/sarde
binary: sarde
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/getsarde/sarde/internal/version.Version={{.Version}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
archives:
- formats:
- tar.gz
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
formats:
- zip
files:
- src: LICENSE*
- src: README.md
checksum:
name_template: checksums.txt
# Sign the checksums file with the offline ed25519 release key. The sarde
# binary verifies this signature during `sarde update` (fail-closed), so every
# release must produce checksums.txt.sig. The private key is supplied via the
# SARDE_RELEASE_SIGNING_KEY secret in the release workflow.
signs:
- cmd: go
args:
[
"run",
"./tools/sarde-release-sign",
"-in",
"${artifact}",
"-out",
"${signature}",
]
artifacts: checksum
signature: "${artifact}.sig"
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^chore:"
- "^ci:"
homebrew_casks:
- name: sarde
binaries:
- sarde
repository:
owner: getsarde
name: homebrew-sarde
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Casks
homepage: https://github.com/getsarde/sarde
description: A zero-config, Go-based static site generator