-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
.goreleaser.yml
41 lines (41 loc) · 973 Bytes
/
.goreleaser.yml
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
project_name: covermyass
dist: bin
release:
github:
owner: sundowndev
name: covermyass
draft: false
prerelease: auto
before:
hooks:
- go generate ./...
signs:
- artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
signature: "${artifact}.gpg"
builds:
- id: "covermyass"
binary: covermyass
dir: .
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
#- windows
goarch:
- amd64
- arm
- arm64
- 386
ldflags: "-s -w -X github.com/sundowndev/covermyass/v2/build.version={{.Version}} -X github.com/sundowndev/covermyass/v2/build.commit={{.ShortCommit}}"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
format: binary
replacements:
armv6: arm
checksum:
name_template: '{{ .ProjectName }}_SHA256SUMS'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-next"