forked from centrifugal/centrifugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
75 lines (75 loc) · 1.47 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
project_name: centrifugo
release:
github:
owner: centrifugal
name: centrifugo
name_template: '{{.Tag}}'
prerelease: false
brew:
github:
owner: centrifugal
name: homebrew-centrifugo
folder: Formula
description: "Real-time messaging server"
commit_author:
name: Alexander Emelin
email: frvzmb@gmail.com
install: bin.install "centrifugo"
homepage: "https://github.com/centrifugal/centrifugo"
builds:
- goos:
- linux
- darwin
- freebsd
- windows
goarch:
- amd64
- "386"
ignore:
- goos: darwin
goarch: "386"
- goos: windows
goarch: "386"
- goos: freebsd
goarch: "386"
main: .
ldflags: -s -w -X main.VERSION={{.Version}}
binary: centrifugo
env:
# https://github.com/goreleaser/goreleaser/issues/225
- CGO_ENABLED=0
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- LICENSE*
- README*
- CHANGELOG*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
dockers:
-
binary: centrifugo
goos: linux
goarch: amd64
goarm: ''
image: centrifugo/centrifugo
tag_templates:
- "{{ .Tag }}"
- "v{{ .Major }}"
- "v{{ .Major }}.{{ .Minor }}"
- latest