forked from xbapps/xbvr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
102 lines (97 loc) · 1.74 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
before:
hooks:
- go mod download
- go get github.com/UnnoTed/fileb0x
- go generate ./...
builds:
- id: xbvr-mac
binary: XBVR.app/Contents/MacOS/XBVR
main: pkg/tray/main.go
flags:
- -tags=json1
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
goos:
- darwin
goarch:
- amd64
hooks:
post: ./appify.sh -s ./dist/xbvr-mac_darwin_amd64/XBVR.app/Contents/MacOS/XBVR -i ./ui/public/icons/xbvr-mac.icns -n XBVR
- id: xbvr-windows
binary: xbvr
main: pkg/tray/main.go
flags:
- -tags=json1
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -H windowsgui
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
goos:
- windows
goarch:
- amd64
- id: xbvr-linux-amd64
binary: xbvr
flags:
- -tags=json1
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: xbvr-linux-arm
binary: xbvr
flags:
- -tags=json1
env:
- CGO_ENABLED=1
- CC=arm-linux-gnueabi-gcc
goos:
- linux
goarch:
- arm
goarm:
- 6
- 7
archives:
- id: archive-linux
builds:
- xbvr-linux-amd64
- xbvr-linux-arm
replacements:
linux: Linux
windows: Windows
amd64: x86_64
- id: archive-win
builds:
- xbvr-windows
format: zip
replacements:
windows: Windows
- id: archive-mac
builds:
- xbvr-mac
format: zip
replacements:
darwin: macOS
files:
- XBVR.app/Contents/Resources/XBVR.icns
- XBVR.app/Contents/Info.plist
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
disable: false
github:
owner: xbapps
name: xbvr