-
Notifications
You must be signed in to change notification settings - Fork 370
/
.goreleaser.yaml
52 lines (52 loc) · 1.06 KB
/
.goreleaser.yaml
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
builds:
- goos:
- linux
- darwin
- windows
- freebsd
- android
goarch:
- "386"
- amd64
- arm64
- arm
goarm:
- "7"
binary: wstunnel
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
- goos: android
goarch: "386"
- goos: android
goarch: amd64
- goos: android
goarch: arm
- goos: darwin
goarch: "386"
- goos: freebsd
goarch: "arm"
- goos: freebsd
goarch: "arm64"
main: goreleaser.go
hooks:
#pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post:
- ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}"
checksum:
name_template: "checksums.txt"
changelog:
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
replace_existing_artifacts: true
prerelease: auto