-
Notifications
You must be signed in to change notification settings - Fork 30
/
.goreleaser.yaml
61 lines (55 loc) · 1.18 KB
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
builds:
- main: .
binary: pbgopy
goos:
- freebsd
- darwin
- linux
- windows
goarch:
- amd64
- arm
- arm64
- 386
- ppc64le
- s390x
- mips64
- mips64le
goarm:
- 6
- 7
env:
- CGO_ENABLED=0
ldflags: -s -w -X github.com/nakabonne/pbgopy/commands.version={{.Version}} -X github.com/nakabonne/pbgopy/commands.commit={{.ShortCommit}} -X github.com/nakabonne/pbgopy/commands.date={{.Date}}
archives:
- replacements:
386: 32-bit
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
brews:
- tap:
owner: nakabonne
name: homebrew-pbgopy
homepage: "https://github.com/nakabonne/pbgopy"
description: "Copy and paste between devices"
nfpms:
- license: MIT
maintainer: Ryo Nakao <[email protected]>
homepage: https://github.com/nakabonne/pbgopy
description: "Copy and paste between devices"
formats:
- rpm
- deb
dockers:
- dockerfile: Dockerfile
binaries:
- pbgopy
image_templates:
- "nakabonne/pbgopy:latest"
- "nakabonne/pbgopy:{{ .Tag }}"
- "nakabonne/pbgopy:v{{ .Major }}.{{ .Minor }}"