This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.goreleaser.yml
76 lines (71 loc) · 1.71 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
builds:
-
main: ./server/
binary: vm-proxy
env:
- CGO_ENABLED=0
goos:
# - windows
- darwin
# - linux
goarch:
- amd64
# flags: -buildmode=pie
ldflags: |-
-s
-w
-X github.com/blacktop/vm-proxy/server/Version={{.Version}}
-X github.com/blacktop/vm-proxy/server/BuildTime={{.Date}}
-X github.com/blacktop/vm-proxy/server/GitCommit={{.Commit}}
archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
amd64: amd64
darwin: macOS
linux: linux
windows: win
changelog:
filters:
exclude:
- '^small'
- add a TODO
- update README
- bump VERSION
- fixes
- updates
sort: asc
sign:
artifacts: checksum
brew:
github:
owner: blacktop
name: homebrew-tap
folder: Formula
homepage: "https://github.com/blacktop/vm-proxy"
description: "VM Proxy Server - Allows hypervisors to be controlled from docker containers."
plist: |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
<string>#{bin}/vm-proxy</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
<key>StandardOutPath</key>
<string>#{var}/log/vm-proxy/vm-proxy.log</string>
<key>StandardErrorPath</key>
<string>#{var}/log/vm-proxy/vm-proxy.log</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
...
test: |
system "#{bin}/vm-proxy --version"