-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.goreleaser.yml
More file actions
45 lines (40 loc) · 930 Bytes
/
Copy path.goreleaser.yml
File metadata and controls
45 lines (40 loc) · 930 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
env:
- GO111MODULE=on
- CGO_ENABLED=0
builds:
- mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- '-s -w -X "main.version={{ .RawVersion }}" -X "main.prerelease={{ if .IsSnapshot }}snapshot.{{ .ShortCommit }}{{ else }}{{ .Prerelease }}{{ end }}"'
targets:
- linux_386
- linux_amd64
- linux_arm
- windows_386
- windows_amd64
- darwin_amd64
- freebsd_386
- freebsd_amd64
- freebsd_arm
- openbsd_386
- openbsd_amd64
archives:
- format: binary
name_template: "wordle_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "wordle_{{ .Version }}_SHA256SUM"
algorithm: sha256
signs:
- args:
[
"-u",
"{{ .Env.PGP_USER_ID }}",
"--output",
"${signature}",
"--detach-sign",
"${artifact}",
]
artifacts: checksum
changelog:
skip: true