forked from gearboxworks/gearbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
67 lines (54 loc) · 1.03 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
# @see http://goreleaser.com
project_name: Gearbox
env:
- GO111MODULE=on
before:
hooks:
# - /tmp/test.sh
- go mod download
# - go-bindata -o gearbox/dist.go -pkg gearbox app/dist/... admin/dist/...
- echo {{ .Version }} > VERSION
builds:
-
main: ./app/main.go
binary: gearbox
env:
- CGO_ENABLED=1
goos:
# - windows # Saru to fix this.
# - darwin
- linux # It's broken, but not critical for now.
goarch:
- amd64
# - 386
# - arm64
# - arm
# goarm:
# - 5
# - 6
# - 7
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
#name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name_template: "{{ .Tag }}"
release:
name_template: "{{ .Tag }}"
draft: true
prerelease: auto
github:
owner: gearboxworks
name: gearbox
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'