forked from go-eagle/eagle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
54 lines (47 loc) · 962 Bytes
/
.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
# see: https://goreleaser.com/customization/
project_name: snake
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- main: ./mian.go
binary: snake
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}} -X main.commit={{.Commit}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
archives:
- id: snake
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE*
- README*
- CHANGELOG*
release:
github:
owner: qloog
name: snake
name_template: '{{.Tag}}'