-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoreleaser.yml
More file actions
54 lines (48 loc) · 892 Bytes
/
goreleaser.yml
File metadata and controls
54 lines (48 loc) · 892 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
47
48
49
50
51
52
53
54
project_name: "whisper"
version: 2
builds:
- id: whisper
main: ./cmd/whisper
binary: whisper
mod_timestamp: "{{ .CommitTimestamp }}"
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- "-s -w"
env:
- CGO_ENABLED=0
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
formats:
- zip
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
algorithm: sha256
release:
mode: replace
changelog:
use: github
upx:
- enabled: true
compress: "6"
lzma: false
dockers_v2:
- id: whisper
images:
- "ghcr.io/davidsbond/whisper"
tags:
- "{{ .Tag }}"
- "v{{ .Major }}.{{ .Minor }}"
- "latest"
platforms:
- linux/amd64
- linux/arm64
ids:
- whisper