forked from go-eagle/eagle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
54 lines (53 loc) · 1010 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: .
binary: snake
goos:
- linux
- darwin
- windows
# amd64 (64-bit x86)
# 386 (32-bit x86)
goarch:
- amd64
- 386
goarm:
- "6"
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}}
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
archives:
-
# Defaults to `default`.
id: snake
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
release:
github:
owner: qloog
name: snake
name_template: '{{.Tag}}'