-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
57 lines (57 loc) · 1.19 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- id: 'spell'
main: ./cmd/spell
goos:
- linux
- windows
- id: 'spell-apple'
main: ./cmd/spell
goos:
- darwin
goarch:
- amd64
hooks:
post: gon gon.hcl
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- LICENSE
- CHANGELOG*
- README*
checksum:
name_template: 'checksums.txt'
signs:
- artifacts: checksum
args: ["-u", "0CDF7B08E8157B1B", "--output", "${signature}", "--detach-sign", "${artifact}"]
brews:
- name: spell
github:
owner: simonnagl
name: homebrew
commit_author:
name: Simon Nagl
email: [email protected]
caveats: "Check spell -h"
description: "spell word(s) using a spelling alphabet."
dockers:
- image_templates:
- 'simonnagl/spell:{{ .Tag }}'
- 'simonnagl/spell:latest'
dockerfile: Dockerfile
binaries:
- spell
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true