-
Notifications
You must be signed in to change notification settings - Fork 49
/
.goreleaser.yml
108 lines (104 loc) · 2.79 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
before:
hooks:
- go mod tidy
builds:
- goos:
- linux
- darwin
- windows
ignore:
- goos: linux
goarch: 386
- goos: darwin
goarch: 386
- goos: windows
goarch: 386
id: "qf"
binary: qf
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/quickfixgo/examples/version.Version={{.Version}}
archives:
- name_template: "qf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- name: qf
tap:
owner: quickfixgo
name: homebrew-qf
homepage: "https://github.com/quickfixgo/examples"
description: "Example QuickFIX/Go Applications."
install: |
bin.install "qf"
caveats: "Thanks for installing the Quickfix/Go examples"
plist: |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>#{var}</string>
<key>StandardErrorPath</key>
<string>#{var}/log/qf.log</string>
<key>StandardOutPath</key>
<string>#{var}/log/qf.log</string>
</dict>
</plist>
dockers:
- goos: linux
goarch: amd64
image_templates:
- "quickfixgo/qf:latest"
- "quickfixgo/qf:{{ .Tag }}"
dockerfile: release.Dockerfile
extra_files:
- config
build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name=qf"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
snapcrafts:
- name_template: "qf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name: quickfixgo-qf
publish: true
summary: Example QuickFIX/Go Applications.
description: Example QuickFIX/Go Applications.
grade: stable
confinement: strict
layout:
/etc/qf:
bind: $SNAP_DATA/etc
scoop:
name: qf
bucket:
owner: quickfixgo
name: scoop-qf
commit_msg_template: "Scoop manifest update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://github.com/quickfixgo/examples
description: Example QuickFIX/Go Applications.
post_install: ["Write-Host 'Thanks for installing the Quickfix/Go examples'"]